Reenable ccxt order checks

This commit is contained in:
Matthias
2022-07-11 10:36:19 +02:00
parent f8e35d8760
commit 6ac1aa15f5
2 changed files with 7 additions and 11 deletions

View File

@@ -1027,10 +1027,9 @@ def test_validate_ordertypes(default_conf, mocker):
'stoploss': 'market',
'stoploss_on_exchange': False
}
# TODO: Revert once createMarketOrder is available again.
# with pytest.raises(OperationalException,
# match=r'Exchange .* does not support market orders.'):
# Exchange(default_conf)
with pytest.raises(OperationalException,
match=r'Exchange .* does not support market orders.'):
Exchange(default_conf)
default_conf['order_types'] = {
'entry': 'limit',