This commit is contained in:
Leif Segen 2020-11-28 01:43:19 -06:00
parent fefa500963
commit ecce5265f5

View File

@ -383,8 +383,8 @@ def test_VolumePairList_whitelist_gen(mocker, whitelist_conf, shitcoinmarkets, t
# Provide for PerformanceFilter's dependency
mocker.patch.multiple('freqtrade.persistence.Trade',
get_overall_performance=MagicMock(
return_value=[{'pair': 'ETH/BTC', 'profit': 5, 'count' :3}]),
get_overall_performance=MagicMock(return_value=\
[{'pair': 'ETH/BTC', 'profit': 5, 'count': 3}]),
)
# Set whitelist_result to None if pairlist is invalid and should produce exception