Allow DefaultHyperopts as hyperopt name

This commit is contained in:
Matthias
2021-08-26 07:13:18 +02:00
parent fbf8eb4526
commit 58ecb34a66
2 changed files with 0 additions and 13 deletions

View File

@@ -541,17 +541,6 @@ def test_start_new_hyperopt(mocker, caplog):
start_new_hyperopt(get_args(args))
def test_start_new_hyperopt_DefaultHyperopt(mocker, caplog):
args = [
"new-hyperopt",
"--hyperopt",
"DefaultHyperopt"
]
with pytest.raises(OperationalException,
match=r"DefaultHyperopt is not allowed as name\."):
start_new_hyperopt(get_args(args))
def test_start_new_hyperopt_no_arg(mocker):
args = [
"new-hyperopt",