Add tests for new-hyperopt

This commit is contained in:
Matthias
2019-11-16 15:52:32 +01:00
parent 37f8139432
commit 03cdfe8cae
2 changed files with 39 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ def start_new_hyperopt(args: Dict[str, Any]) -> None:
if "hyperopt" in args and args["hyperopt"]:
if args["hyperopt"] == "DefaultHyperopt":
raise OperationalException("DefaultHyperOpt is not allowed as name.")
raise OperationalException("DefaultHyperopt is not allowed as name.")
new_path = config['user_data_dir'] / "hyperopts" / (args["hyperopt"] + ".py")