add another test

This commit is contained in:
Kenneth Kehl
2025-09-11 12:01:36 -07:00
parent 395e69ddad
commit 4abd841f8b

View File

@@ -296,11 +296,7 @@ def test_should_be_error_if_service_does_not_exist_on_update(client, fake_uuid):
json_resp = json.loads(response.get_data(as_text=True)) json_resp = json.loads(response.get_data(as_text=True))
assert response.status_code == 404 assert response.status_code == 404
assert json_resp["result"] == "error" assert json_resp["result"] == "error"
assert ( assert json_resp["message"] == "No result found"
json_resp["message"]
== "The requested URL was not found on the server. \
If you entered the URL manually please check your spelling and try again."
)
@given( @given(
@@ -330,7 +326,7 @@ def test_fuzz_should_be_error_if_service_does_not_exist_on_update(
assert ( assert (
json_resp["message"] json_resp["message"]
== "The requested URL was not found on the server. \ == "The requested URL was not found on the server. \
If you entered the URL manually please check your spelling and try again." If you entered the URL manually please check your spelling and try again."
) )