diff --git a/tests/app/template/test_rest.py b/tests/app/template/test_rest.py index e41cc4e5d..33f54a989 100644 --- a/tests/app/template/test_rest.py +++ b/tests/app/template/test_rest.py @@ -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)) assert response.status_code == 404 assert json_resp["result"] == "error" - assert ( - 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." - ) + assert json_resp["message"] == "No result found" @given( @@ -330,7 +326,7 @@ def test_fuzz_should_be_error_if_service_does_not_exist_on_update( assert ( 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." + If you entered the URL manually please check your spelling and try again." )