From 7e86ec31be1e58ed93808ba660bc670ddc947859 Mon Sep 17 00:00:00 2001 From: misagh Date: Fri, 30 Nov 2018 18:23:16 +0100 Subject: [PATCH] tests added for wallet additional functions --- freqtrade/tests/test_wallets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freqtrade/tests/test_wallets.py b/freqtrade/tests/test_wallets.py index 88366a869..8d9adc74c 100644 --- a/freqtrade/tests/test_wallets.py +++ b/freqtrade/tests/test_wallets.py @@ -58,6 +58,8 @@ def test_sync_wallet_at_boot(mocker, default_conf): assert freqtrade.wallets.wallets['GAS'].used == 0.1 assert freqtrade.wallets.wallets['GAS'].total == 0.260439 assert freqtrade.wallets.get_free('GAS') == 0.270739 + assert freqtrade.wallets.get_used('GAS') == 0.1 + assert freqtrade.wallets.get_total('GAS') == 0.260439 def test_sync_wallet_missing_data(mocker, default_conf):