From e9a75e57b8140029d23d79160bb4c7daac3d10af Mon Sep 17 00:00:00 2001 From: hroff-1902 Date: Mon, 16 Sep 2019 21:53:19 +0300 Subject: [PATCH] test adjusted --- tests/optimize/test_hyperopt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/optimize/test_hyperopt.py b/tests/optimize/test_hyperopt.py index f5c8bf0ae..d388a38ae 100644 --- a/tests/optimize/test_hyperopt.py +++ b/tests/optimize/test_hyperopt.py @@ -560,6 +560,7 @@ def test_generate_optimizer(mocker, default_conf) -> None: } hyperopt = Hyperopt(default_conf) + hyperopt.dimensions = hyperopt.hyperopt_space() generate_optimizer_value = hyperopt.generate_optimizer(list(optimizer_param.values())) assert generate_optimizer_value == response_expected