aboutsummaryrefslogtreecommitdiff
path: root/tests/qc_app/test_results_page.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-13 15:54:17 -0500
committerFrederick Muriuki Muriithi2024-06-13 15:54:17 -0500
commit9ff12c643feadc353f29fe8dac4b9819caf1779c (patch)
tree33f8461235ade946c2ccb1e319547b938750c099 /tests/qc_app/test_results_page.py
parent68a43dc318fb7d76544d704752f243b9afed7e52 (diff)
downloadgn-uploader-9ff12c643feadc353f29fe8dac4b9819caf1779c.tar.gz
Fix tests and issues caught by tests.update-templates-for-bootstrap
Diffstat (limited to 'tests/qc_app/test_results_page.py')
-rw-r--r--tests/qc_app/test_results_page.py6
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 &#39;DupHead&#39; is repeated</td>' in resp.data
assert b'Invalid Value' in resp.data