mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
test: fix failing test
This commit is contained in:
@@ -501,7 +501,7 @@ def test_populate_indicators(hyperopt, testdatadir) -> None:
|
||||
def test_generate_optimizer(mocker, hyperopt_conf) -> None:
|
||||
hyperopt_conf.update(
|
||||
{
|
||||
"spaces": "all",
|
||||
"spaces": ["all"],
|
||||
"hyperopt_min_trades": 1,
|
||||
}
|
||||
)
|
||||
@@ -616,7 +616,7 @@ def test_generate_optimizer(mocker, hyperopt_conf) -> None:
|
||||
"max_open_trades": {"max_open_trades": 3},
|
||||
},
|
||||
"params_dict": optimizer_param,
|
||||
"params_not_optimized": {"buy": {}, "protection": {}, "sell": {}},
|
||||
"params_not_optimized": {},
|
||||
"results_metrics": ANY,
|
||||
"total_profit": 3.1e-08,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user