mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-03-01 07:42:40 +00:00
feat: rename endpoint to be better aligned
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user