mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-01 01:23:04 +00:00
test: empty pairlist is now handled by config schema
This commit is contained in:
@@ -1883,7 +1883,12 @@ def test_pairlistmanager_no_pairlist(mocker, whitelist_conf):
|
||||
|
||||
whitelist_conf["pairlists"] = []
|
||||
|
||||
with pytest.raises(OperationalException, match=r"No Pairlist Handlers defined"):
|
||||
with pytest.raises(OperationalException, match=r"\[\] should be non-empty"):
|
||||
get_patched_freqtradebot(mocker, whitelist_conf)
|
||||
|
||||
del whitelist_conf["pairlists"]
|
||||
|
||||
with pytest.raises(OperationalException, match=r"'pairlists' is a required property"):
|
||||
get_patched_freqtradebot(mocker, whitelist_conf)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user