Update current_whitelist test

This commit is contained in:
Matthias 2021-04-13 06:57:21 +02:00
parent 9b23be4021
commit f1cf56cc42

View File

@ -214,8 +214,8 @@ def test_current_whitelist(mocker, default_conf, tickers):
pairlist.refresh_pairlist()
assert dp.current_whitelist() == pairlist._whitelist
# The identity of the 2 lists should be identical
assert dp.current_whitelist() is pairlist._whitelist
# The identity of the 2 lists should not be identical, but a copy
assert dp.current_whitelist() is not pairlist._whitelist
with pytest.raises(OperationalException):
dp = DataProvider(default_conf, exchange)