diff options
Diffstat (limited to 'tests/qc_app')
-rw-r--r-- | tests/qc_app/test_entry.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qc_app/test_entry.py b/tests/qc_app/test_entry.py index 31c43e1..61c5db0 100644 --- a/tests/qc_app/test_entry.py +++ b/tests/qc_app/test_entry.py @@ -35,7 +35,7 @@ def test_post_notifies_errors_if_no_data_is_provided(client): THEN: ensure the system responds woit the appropriate error messages """ response = client.post("/", data={}) - assert response.status_code == 200 + assert response.status_code == 400 assert ( b'<span class="alert alert-error">Invalid file type provided.</span>' in response.data) @@ -80,5 +80,5 @@ def test_post_with_missing_or_invalid_data(client, request_data,error_message): THEN: ensure that the system responds with the appropriate error message """ response = client.post("/", data=request_data) - assert response.status_code == 200 + assert response.status_code == 400 assert error_message in response.data |