Enhance hyperoptable strategy to test instance parameters

This commit is contained in:
Matthias
2022-05-30 07:08:37 +02:00
parent eaa656f859
commit 5bf021be2e
3 changed files with 7 additions and 3 deletions

View File

@@ -509,7 +509,6 @@ def test_generate_optimizer(mocker, hyperopt_conf) -> None:
hyperopt.min_date = Arrow(2017, 12, 10)
hyperopt.max_date = Arrow(2017, 12, 13)
hyperopt.init_spaces()
hyperopt.dimensions = hyperopt.dimensions
generate_optimizer_value = hyperopt.generate_optimizer(list(optimizer_param.values()))
assert generate_optimizer_value == response_expected