Convert PairlistResolver to static loader

This commit is contained in:
Matthias
2019-12-23 09:56:12 +01:00
parent 1c5f8070e5
commit 5fefa9e97c
3 changed files with 34 additions and 25 deletions

View File

@@ -53,7 +53,7 @@ def test_load_pairlist_noexist(mocker, markets, default_conf):
with pytest.raises(OperationalException,
match=r"Impossible to load Pairlist 'NonexistingPairList'. "
r"This class does not exist or contains Python code errors."):
PairListResolver('NonexistingPairList', bot.exchange, plm, default_conf, {}, 1)
PairListResolver.load_pairlist('NonexistingPairList', bot.exchange, plm, default_conf, {}, 1)
def test_refresh_market_pair_not_in_whitelist(mocker, markets, static_pl_conf):