chore: update function naming

This commit is contained in:
Matthias
2025-03-28 06:42:07 +01:00
parent bb08880c4a
commit 38feb90f9e
6 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -533,14 +533,14 @@ def test_api_reloadconf(botclient):
assert ftbot.state == State.RELOAD_CONFIG
def test_api_stopentry(botclient):
def test_api_pause(botclient):
ftbot, client = botclient
rc = client_post(client, f"{BASE_URI}/stopbuy")
rc = client_post(client, f"{BASE_URI}/pause")
assert_response(rc)
assert rc.json() == {"status": "pausing trader ..."}
rc = client_post(client, f"{BASE_URI}/stopbuy")
rc = client_post(client, f"{BASE_URI}/pause")
assert_response(rc)
assert rc.json() == {
"status": "No more entries will occur from now. Run /start to enable entries."