test adjusted

This commit is contained in:
hroff-1902 2019-09-16 21:53:19 +03:00
parent 5cbc073dd1
commit e9a75e57b8

View File

@ -560,6 +560,7 @@ def test_generate_optimizer(mocker, default_conf) -> None:
} }
hyperopt = Hyperopt(default_conf) hyperopt = Hyperopt(default_conf)
hyperopt.dimensions = hyperopt.hyperopt_space()
generate_optimizer_value = hyperopt.generate_optimizer(list(optimizer_param.values())) generate_optimizer_value = hyperopt.generate_optimizer(list(optimizer_param.values()))
assert generate_optimizer_value == response_expected assert generate_optimizer_value == response_expected