From 85215361b561d332cab954ea68438a2d442c96d8 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 17 Oct 2024 10:26:15 -0500 Subject: Rename test module. --- tests/uploader/test_entry.py | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 tests/uploader/test_entry.py (limited to 'tests/uploader/test_entry.py') diff --git a/tests/uploader/test_entry.py b/tests/uploader/test_entry.py new file mode 100644 index 0000000..0c614a5 --- /dev/null +++ b/tests/uploader/test_entry.py @@ -0,0 +1,43 @@ +"""Test the entry module in the web-ui""" +import pytest + +@pytest.mark.parametrize( + "dataitem,lower", + ( + # expression data UI elements + (b'

expression data

', True), + (b'', False), + + # samples/cases data UI elements + (b'

samples/cases

', True), + (b'
r/qtl2 bundles', True), + (b'405: The method is not allowed for the requested URL.' + in resp.data) -- cgit 1.4.1