diff options
Diffstat (limited to 'tests/qc_app/test_results_page.py')
-rw-r--r-- | tests/qc_app/test_results_page.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qc_app/test_results_page.py b/tests/qc_app/test_results_page.py index 57f1531..bb596d7 100644 --- a/tests/qc_app/test_results_page.py +++ b/tests/qc_app/test_results_page.py @@ -56,12 +56,12 @@ 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) + resp = client.get(f"/parse/status/{job_id}", follow_redirects=True);import sys;print(resp.data, file=sys.stderr) assert len(resp.history) == 1 assert ( - b'<p class="alert-error">We found the following errors</p>' + b'<p class="alert-danger">We found the following errors</p>' in resp.data) - assert b'<table class="reports-table">' in resp.data + assert b'<table class="table reports-table">' in resp.data assert b'Duplicate Header' in resp.data assert b'<td>Heading 'DupHead' is repeated</td>' in resp.data assert b'Invalid Value' in resp.data |