From 2e29d3523b8788b0af9cc783a791b43d48f19b52 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 13 Aug 2025 13:16:18 +0200 Subject: [PATCH] test: empty pairlist is now handled by config schema --- tests/plugins/test_pairlist.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/plugins/test_pairlist.py b/tests/plugins/test_pairlist.py index 0f133242b..2a3087da0 100644 --- a/tests/plugins/test_pairlist.py +++ b/tests/plugins/test_pairlist.py @@ -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)