diff options
author | Frederick Muriuki Muriithi | 2024-06-27 16:42:08 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-06-27 16:42:08 -0500 |
commit | a4255e01599f7bb0dd4b5d5fb7361d8271d9d86d (patch) | |
tree | 2708203f2be8851e292d6825a9167868f593dfae /tests/qc_app | |
parent | 47c2ea64682064d7cb609e5459d7bd2e49efa17e (diff) | |
download | gn-uploader-a4255e01599f7bb0dd4b5d5fb7361d8271d9d86d.tar.gz |
Remove unnecessary debugging statements.
Diffstat (limited to 'tests/qc_app')
-rw-r--r-- | tests/qc_app/test_expression_data_pages.py | 1 | ||||
-rw-r--r-- | tests/qc_app/test_results_page.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/qc_app/test_expression_data_pages.py b/tests/qc_app/test_expression_data_pages.py index 6e073fb..c2f7de1 100644 --- a/tests/qc_app/test_expression_data_pages.py +++ b/tests/qc_app/test_expression_data_pages.py @@ -42,7 +42,6 @@ def test_post_notifies_errors_if_no_data_is_provided(client): assert redirect.status_code == 302 assert redirect.location == "/upload" - assert response.status_code == 200 assert b'Invalid file type provided.' in response.data assert b'No file was uploaded.' in response.data diff --git a/tests/qc_app/test_results_page.py b/tests/qc_app/test_results_page.py index bb596d7..8c8379f 100644 --- a/tests/qc_app/test_results_page.py +++ b/tests/qc_app/test_results_page.py @@ -56,7 +56,7 @@ def test_results_with_completed_job_some_errors( 1. the system redirects to the results page 2. the results page displays the errors found """ - resp = client.get(f"/parse/status/{job_id}", follow_redirects=True);import sys;print(resp.data, file=sys.stderr) + resp = client.get(f"/parse/status/{job_id}", follow_redirects=True) assert len(resp.history) == 1 assert ( b'<p class="alert-danger">We found the following errors</p>' |