mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Split too long strings in test
This commit is contained in:
parent
f52c3677ca
commit
eb8ce5b304
|
@ -1285,11 +1285,13 @@ def test_spreadfilter_invalid_data(mocker, default_conf, markets, tickers, caplo
|
|||
None
|
||||
),
|
||||
({"method": "PriceFilter", "low_price_ratio": 0.001, "min_price": 0.00000010},
|
||||
"[{'PriceFilter': 'PriceFilter - Filtering pairs priced below 0.1% or below 0.00000010.'}]",
|
||||
"[{'PriceFilter': 'PriceFilter - Filtering pairs priced below 0.1% "
|
||||
"or below 0.00000010.'}]",
|
||||
None
|
||||
),
|
||||
({"method": "PriceFilter", "low_price_ratio": 0.001, "max_price": 1.00010000},
|
||||
"[{'PriceFilter': 'PriceFilter - Filtering pairs priced below 0.1% or above 1.00010000.'}]",
|
||||
"[{'PriceFilter': 'PriceFilter - Filtering pairs priced below 0.1% "
|
||||
"or above 1.00010000.'}]",
|
||||
None
|
||||
),
|
||||
({"method": "PriceFilter", "min_price": 0.00002000},
|
||||
|
@ -1322,14 +1324,14 @@ def test_spreadfilter_invalid_data(mocker, default_conf, markets, tickers, caplo
|
|||
), # OperationalException expected
|
||||
({"method": "RangeStabilityFilter", "lookback_days": 10,
|
||||
"min_rate_of_change": 0.01},
|
||||
"[{'RangeStabilityFilter': 'RangeStabilityFilter - Filtering pairs with rate of change below "
|
||||
"0.01 over the last days.'}]",
|
||||
"[{'RangeStabilityFilter': 'RangeStabilityFilter - Filtering pairs with rate "
|
||||
"of change below 0.01 over the last days.'}]",
|
||||
None
|
||||
),
|
||||
({"method": "RangeStabilityFilter", "lookback_days": 10,
|
||||
"min_rate_of_change": 0.01, "max_rate_of_change": 0.99},
|
||||
"[{'RangeStabilityFilter': 'RangeStabilityFilter - Filtering pairs with rate of change below "
|
||||
"0.01 and above 0.99 over the last days.'}]",
|
||||
"[{'RangeStabilityFilter': 'RangeStabilityFilter - Filtering pairs with rate "
|
||||
"of change below 0.01 and above 0.99 over the last days.'}]",
|
||||
None
|
||||
),
|
||||
({"method": "OffsetFilter", "offset": 5, "number_assets": 10},
|
||||
|
|
Loading…
Reference in New Issue
Block a user