Lint
This commit is contained in:
parent
ecce5265f5
commit
f448564073
@ -383,9 +383,9 @@ def test_VolumePairList_whitelist_gen(mocker, whitelist_conf, shitcoinmarkets, t
|
|||||||
|
|
||||||
# Provide for PerformanceFilter's dependency
|
# Provide for PerformanceFilter's dependency
|
||||||
mocker.patch.multiple('freqtrade.persistence.Trade',
|
mocker.patch.multiple('freqtrade.persistence.Trade',
|
||||||
get_overall_performance=MagicMock(return_value=\
|
get_overall_performance=MagicMock(
|
||||||
[{'pair': 'ETH/BTC', 'profit': 5, 'count': 3}]),
|
return_value=[{'pair': 'ETH/BTC', 'profit': 5, 'count': 3}]),
|
||||||
)
|
)
|
||||||
|
|
||||||
# Set whitelist_result to None if pairlist is invalid and should produce exception
|
# Set whitelist_result to None if pairlist is invalid and should produce exception
|
||||||
if whitelist_result == 'filter_at_the_beginning':
|
if whitelist_result == 'filter_at_the_beginning':
|
||||||
|
Loading…
Reference in New Issue
Block a user