aboutsummaryrefslogtreecommitdiff
path: root/tests/qc_app/test_parse.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qc_app/test_parse.py')
-rw-r--r--tests/qc_app/test_parse.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qc_app/test_parse.py b/tests/qc_app/test_parse.py
index 187af76..3915a4d 100644
--- a/tests/qc_app/test_parse.py
+++ b/tests/qc_app/test_parse.py
@@ -30,7 +30,7 @@ def test_parse_with_existing_uploaded_file(#pylint: disable=[too-many-arguments]
filename = "no_data_errors.tsv"
filetype = "average"
client.post(
- "/", data={
+ "/upload", data={
"speciesid": speciesid,
"filetype": filetype,
"qc_text_file": uploadable_file_object(filename)})
@@ -81,7 +81,7 @@ def test_parse_with_non_uploaded_file(client, filename, uri, error_msgs):
## Conditionally upload files
if filename and filename != "non_existent.file":
client.post(
- "/", data={
+ "/upload", data={
"filetype": "average",
"qc_text_file": uploadable_file_object(filename)})
# Trigger
@@ -89,7 +89,7 @@ def test_parse_with_non_uploaded_file(client, filename, uri, error_msgs):
## Check that there was exactly one redirect
assert len(resp.history) == 1 and resp.history[0].status_code == 302
## Check that redirect is to home page and is successful
- assert resp.request.path == "/"
+ assert resp.request.path == "/upload"
assert resp.status_code == 200
## Check that error(s) are displayed
for error_msg in error_msgs: