Skip to content

Commit 649739b

Browse files
committed
test: fix test failure due to missing commonCurrencies attr
1 parent f109d08 commit 649739b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/exchange/test_exchange.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1686,6 +1686,7 @@ def test_get_balances_prod(default_conf, mocker, exchange_name):
16861686
api_mock.fetch_balance = MagicMock(
16871687
return_value={"1ST": balance_item, "2ND": balance_item, "3RD": balance_item}
16881688
)
1689+
api_mock.commonCurrencies = {}
16891690
default_conf["dry_run"] = False
16901691
exchange = get_patched_exchange(mocker, default_conf, api_mock, exchange=exchange_name)
16911692
assert len(exchange.get_balances()) == 3

0 commit comments

Comments
 (0)