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.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/qc/test_error_collection.py b/tests/qc/test_error_collection.py
index 962d2c5..260fabf 100644
--- a/tests/qc/test_error_collection.py
+++ b/tests/qc/test_error_collection.py
@@ -44,11 +44,14 @@ def test_collect_errors(filepath, filetype, strains, count):
"filepath,filetype,expected",
(("tests/test_data/average_inconsistent_columns.tsv", FileType.AVERAGE,
(InconsistentColumns(
- 4, 4, 5, "Header row has 4 columns while row 4 has 5 columns"),
+ "average_inconsistent_columns.tsv", 4, 4, 5,
+ "Header row has 4 columns while row 4 has 5 columns"),
InconsistentColumns(
- 5, 4, 3, "Header row has 4 columns while row 5 has 3 columns"),
+ "average_inconsistent_columns.tsv", 5, 4, 3,
+ "Header row has 4 columns while row 5 has 3 columns"),
InconsistentColumns(
- 6, 4, 7, "Header row has 4 columns while row 6 has 7 columns"))),))
+ "average_inconsistent_columns.tsv", 6, 4, 7,
+ "Header row has 4 columns while row 6 has 7 columns"))),))
def test_collect_inconsistent_column_errors(filepath, filetype, strains, expected):
"""
Given: A file with inconsistent columns in certain lines