chore: add alias_for to tests

This commit is contained in:
Matthias 2024-08-18 13:15:10 +02:00
parent fd9ec438dc
commit 7fe23ad8c9

View File

@ -2156,6 +2156,7 @@ def test_api_exchanges(botclient):
"comment": "", "comment": "",
"dex": False, "dex": False,
"is_alias": False, "is_alias": False,
"alias_for": None,
"trade_modes": [ "trade_modes": [
{"trading_mode": "spot", "margin_mode": ""}, {"trading_mode": "spot", "margin_mode": ""},
{"trading_mode": "futures", "margin_mode": "isolated"}, {"trading_mode": "futures", "margin_mode": "isolated"},
@ -2171,6 +2172,7 @@ def test_api_exchanges(botclient):
"dex": False, "dex": False,
"comment": "", "comment": "",
"is_alias": False, "is_alias": False,
"alias_for": None,
"trade_modes": [{"trading_mode": "spot", "margin_mode": ""}], "trade_modes": [{"trading_mode": "spot", "margin_mode": ""}],
} }
waves = [x for x in response["exchanges"] if x["classname"] == "wavesexchange"][0] waves = [x for x in response["exchanges"] if x["classname"] == "wavesexchange"][0]
@ -2182,6 +2184,7 @@ def test_api_exchanges(botclient):
"dex": True, "dex": True,
"comment": ANY, "comment": ANY,
"is_alias": False, "is_alias": False,
"alias_for": None,
"trade_modes": [{"trading_mode": "spot", "margin_mode": ""}], "trade_modes": [{"trading_mode": "spot", "margin_mode": ""}],
} }