Update tests/pairlist/test_pairlist.py

Co-authored-by: Matthias <xmatthias@outlook.com>
This commit is contained in:
hroff-1902 2020-05-18 11:54:52 +03:00 committed by GitHub
parent 287e8bafce
commit 51c0639e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,6 +243,9 @@ def test_VolumePairList_whitelist_gen(mocker, whitelist_conf, shitcoinmarkets, t
freqtrade.pairlists.refresh_pairlist() freqtrade.pairlists.refresh_pairlist()
whitelist = freqtrade.pairlists.whitelist whitelist = freqtrade.pairlists.whitelist
assert isinstance(whitelist, list)
# Verify length of pairlist matches (used for ShuffleFilter without seed)
if type(whitelist_result) is list: if type(whitelist_result) is list:
assert whitelist == whitelist_result assert whitelist == whitelist_result
else: else: