single space removed for the unit test to pass..
This commit is contained in:
parent
9e20d13e50
commit
cd1b8b9cee
@ -108,7 +108,7 @@ def test_fetch_pairlist_timeout_keep_last_pairlist(mocker, rpl_config, caplog):
|
|||||||
remote_pairlist._last_pairlist = ["BTC/USDT", "ETH/USDT", "LTC/USDT"]
|
remote_pairlist._last_pairlist = ["BTC/USDT", "ETH/USDT", "LTC/USDT"]
|
||||||
|
|
||||||
pairs, time_elapsed, info = remote_pairlist.fetch_pairlist()
|
pairs, time_elapsed, info = remote_pairlist.fetch_pairlist()
|
||||||
assert log_has(f"Was not able to fetch pairlist from: {remote_pairlist._pairlist_url} ", caplog)
|
assert log_has(f"Was not able to fetch pairlist from: {remote_pairlist._pairlist_url}", caplog)
|
||||||
assert log_has("Keeping last fetched pairlist", caplog)
|
assert log_has("Keeping last fetched pairlist", caplog)
|
||||||
assert pairs == ["BTC/USDT", "ETH/USDT", "LTC/USDT"]
|
assert pairs == ["BTC/USDT", "ETH/USDT", "LTC/USDT"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user