aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-06-21 03:55:42 +0300
committerFrederick Muriuki Muriithi2022-06-21 03:55:42 +0300
commit6375b2394eab075af6e7488d343131dc99fd7c3b (patch)
treef499bb3ae795a3601fad9481733f59b305ae9cac /tests
parentd2efffd5fa48fd66084b7e7f4aaeb4c3c8ece58c (diff)
downloadgn-uploader-6375b2394eab075af6e7488d343131dc99fd7c3b.tar.gz
Test the upload of zip files works as expected
- Ensure errors respond with status code 400 - Ensure error messages are displayed for any invalid zip file that is uploaded.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_data/average.tsv.zipbin0 -> 35479706 bytes
-rw-r--r--tests/test_data/empty.zipbin0 -> 22 bytes
-rw-r--r--tests/test_data/multiple_files.zipbin0 -> 35495094 bytes
-rw-r--r--tests/test_data/non_tsv.zipbin0 -> 224 bytes
4 files changed, 0 insertions, 0 deletions
diff --git a/tests/test_data/average.tsv.zip b/tests/test_data/average.tsv.zip
new file mode 100644
index 0000000..09dda4e
--- /dev/null
+++ b/tests/test_data/average.tsv.zip
Binary files differ
diff --git a/tests/test_data/empty.zip b/tests/test_data/empty.zip
new file mode 100644
index 0000000..15cb0ec
--- /dev/null
+++ b/tests/test_data/empty.zip
Binary files differ
diff --git a/tests/test_data/multiple_files.zip b/tests/test_data/multiple_files.zip
new file mode 100644
index 0000000..5c2d028
--- /dev/null
+++ b/tests/test_data/multiple_files.zip
Binary files differ
diff --git a/tests/test_data/non_tsv.zip b/tests/test_data/non_tsv.zip
new file mode 100644
index 0000000..b3787a6
--- /dev/null
+++ b/tests/test_data/non_tsv.zip
Binary files differ