test: update test asserting no longer existing metric

This commit is contained in:
Matthias
2025-11-01 15:57:03 +01:00
parent e34e84c5c6
commit 886c15a7fb

View File

@@ -913,7 +913,7 @@ def test_simplified_interface_all_failed(mocker, hyperopt_conf, caplog) -> None:
caplog.clear()
hyperopt.hyperopter.init_spaces()
assert log_has_re(r"The 'protection' space is included into *", caplog)
assert hyperopt.hyperopter.protection_space == []
assert hyperopt.hyperopter.spaces["protection"] == []
def test_simplified_interface_buy(mocker, hyperopt_conf, capsys) -> None: