aboutsummaryrefslogtreecommitdiff
path: root/tests/qc/test_error_collection.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qc/test_error_collection.py')
-rw-r--r--tests/qc/test_error_collection.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qc/test_error_collection.py b/tests/qc/test_error_collection.py
index ee1e6c2..25f5d01 100644
--- a/tests/qc/test_error_collection.py
+++ b/tests/qc/test_error_collection.py
@@ -6,6 +6,7 @@ from quality_control.parsing import take, FileType, collect_errors
from quality_control.errors import (
InvalidValue, DuplicateHeading, InconsistentColumns)
+@pytest.mark.unit_test
@pytest.mark.parametrize(
"sample,num,expected",
((range(0,25), 5, [0, 1, 2, 3, 4]),
@@ -18,6 +19,7 @@ def test_take(sample, num, expected):
assert taken == expected
@pytest.mark.slow
+@pytest.mark.unit_test
@pytest.mark.parametrize(
"filepath,filetype,count",
(("tests/test_data/average_crlf.tsv", FileType.AVERAGE, 10),
@@ -36,6 +38,7 @@ def test_collect_errors(filepath, filetype, strains, count):
return isinstance(item, (InvalidValue, DuplicateHeading))
assert all(__valid_instance(error) for error in results)
+@pytest.mark.unit_test
@pytest.mark.parametrize(
"filepath,filetype,expected",
(("tests/test_data/average_inconsistent_columns.tsv", FileType.AVERAGE,