mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
unnecessary lines removed.
This commit is contained in:
parent
caca070c1a
commit
d534f88d1c
|
@ -231,10 +231,6 @@ def test_remote_pairlist_blacklist(mocker, rpl_config, caplog):
|
||||||
|
|
||||||
exchange = get_patched_exchange(mocker, rpl_config)
|
exchange = get_patched_exchange(mocker, rpl_config)
|
||||||
|
|
||||||
freqtrade = get_patched_freqtradebot(mocker, rpl_config)
|
|
||||||
freqtrade.pairlists.refresh_pairlist()
|
|
||||||
whitelist = freqtrade.pairlists.whitelist
|
|
||||||
|
|
||||||
pairlistmanager = PairListManager(exchange, rpl_config)
|
pairlistmanager = PairListManager(exchange, rpl_config)
|
||||||
|
|
||||||
remote_pairlist = RemotePairList(exchange, pairlistmanager, rpl_config,
|
remote_pairlist = RemotePairList(exchange, pairlistmanager, rpl_config,
|
||||||
|
@ -244,7 +240,7 @@ def test_remote_pairlist_blacklist(mocker, rpl_config, caplog):
|
||||||
|
|
||||||
assert pairs == ["XRP/USDT"]
|
assert pairs == ["XRP/USDT"]
|
||||||
|
|
||||||
whitelist = remote_pairlist.filter_pairlist(["XRP/USDT", "ETH/USDT"], {})
|
whitelist = remote_pairlist.filter_pairlist(rpl_config['exchange']['pair_whitelist'], {})
|
||||||
assert whitelist == ["ETH/USDT"]
|
assert whitelist == ["ETH/USDT"]
|
||||||
|
|
||||||
assert log_has(f"Blacklist - Filtered out pairs: {pairs}", caplog)
|
assert log_has(f"Blacklist - Filtered out pairs: {pairs}", caplog)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user