🐛 updated test case from StaticPairlist to StaticPairList

This commit is contained in:
Thaweesak Chusri 2022-09-26 21:51:59 +08:00
parent c4784c6695
commit 4faa6a0bd7

View File

@ -434,7 +434,7 @@ def test_backtesting_no_pair_left(default_conf, mocker, caplog, testdatadir) ->
default_conf['pairlists'] = [{"method": "VolumePairList", "number_assets": 5}] default_conf['pairlists'] = [{"method": "VolumePairList", "number_assets": 5}]
with pytest.raises(OperationalException, with pytest.raises(OperationalException,
match=r'VolumePairList not allowed for backtesting\..*StaticPairlist.*'): match=r'VolumePairList not allowed for backtesting\..*StaticPairList.*'):
Backtesting(default_conf) Backtesting(default_conf)
default_conf.update({ default_conf.update({