mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
Split too long strings in test
This commit is contained in:
@@ -1285,11 +1285,13 @@ def test_spreadfilter_invalid_data(mocker, default_conf, markets, tickers, caplo
|
|||||||
None
|
None
|
||||||
),
|
),
|
||||||
({"method": "PriceFilter", "low_price_ratio": 0.001, "min_price": 0.00000010},
|
({"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
|
None
|
||||||
),
|
),
|
||||||
({"method": "PriceFilter", "low_price_ratio": 0.001, "max_price": 1.00010000},
|
({"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
|
None
|
||||||
),
|
),
|
||||||
({"method": "PriceFilter", "min_price": 0.00002000},
|
({"method": "PriceFilter", "min_price": 0.00002000},
|
||||||
@@ -1322,14 +1324,14 @@ def test_spreadfilter_invalid_data(mocker, default_conf, markets, tickers, caplo
|
|||||||
), # OperationalException expected
|
), # OperationalException expected
|
||||||
({"method": "RangeStabilityFilter", "lookback_days": 10,
|
({"method": "RangeStabilityFilter", "lookback_days": 10,
|
||||||
"min_rate_of_change": 0.01},
|
"min_rate_of_change": 0.01},
|
||||||
"[{'RangeStabilityFilter': 'RangeStabilityFilter - Filtering pairs with rate of change below "
|
"[{'RangeStabilityFilter': 'RangeStabilityFilter - Filtering pairs with rate "
|
||||||
"0.01 over the last days.'}]",
|
"of change below 0.01 over the last days.'}]",
|
||||||
None
|
None
|
||||||
),
|
),
|
||||||
({"method": "RangeStabilityFilter", "lookback_days": 10,
|
({"method": "RangeStabilityFilter", "lookback_days": 10,
|
||||||
"min_rate_of_change": 0.01, "max_rate_of_change": 0.99},
|
"min_rate_of_change": 0.01, "max_rate_of_change": 0.99},
|
||||||
"[{'RangeStabilityFilter': 'RangeStabilityFilter - Filtering pairs with rate of change below "
|
"[{'RangeStabilityFilter': 'RangeStabilityFilter - Filtering pairs with rate "
|
||||||
"0.01 and above 0.99 over the last days.'}]",
|
"of change below 0.01 and above 0.99 over the last days.'}]",
|
||||||
None
|
None
|
||||||
),
|
),
|
||||||
({"method": "OffsetFilter", "offset": 5, "number_assets": 10},
|
({"method": "OffsetFilter", "offset": 5, "number_assets": 10},
|
||||||
|
|||||||
Reference in New Issue
Block a user