feat: rename endpoint to be better aligned

This commit is contained in:
Matthias
2024-10-22 06:45:51 +02:00
parent 0de3c6945b
commit 46db0bc08c
2 changed files with 4 additions and 2 deletions

View File

@@ -2193,7 +2193,7 @@ def test_list_hyperoptloss(botclient, tmp_path):
ftbot, client = botclient
ftbot.config["user_data_dir"] = tmp_path
rc = client_get(client, f"{BASE_URI}/hyperopt-loss")
rc = client_get(client, f"{BASE_URI}/hyperoptloss")
assert_response(rc)
response = rc.json()
assert isinstance(response["loss_functions"], list)