diff --git a/tests/plugins/test_pairlist.py b/tests/plugins/test_pairlist.py index da4a3a780..cccef2c56 100644 --- a/tests/plugins/test_pairlist.py +++ b/tests/plugins/test_pairlist.py @@ -1833,6 +1833,16 @@ def test_spreadfilter_invalid_data(mocker, default_conf, markets, tickers, caplo None, "PriceFilter requires max_value to be >= 0", ), # OperationalException expected + ( + {"method": "DelistFilter", "max_days_from_now": -1}, + None, + "DelistFilter requires max_days_from_now to be >= 0", + ), # ConfigurationError expected + ( + {"method": "DelistFilter", "max_days_from_now": 1}, + "[{'DelistFilter': 'DelistFilter - Filtering pairs that will be delisted in the next 1 days.'}]", + None, + ), # ConfigurationError expected ( {"method": "RangeStabilityFilter", "lookback_days": 10, "min_rate_of_change": 0.01}, "[{'RangeStabilityFilter': 'RangeStabilityFilter - Filtering pairs with rate "