diff options
Diffstat (limited to 'tests/qc/test_header.py')
-rw-r--r-- | tests/qc/test_header.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qc/test_header.py b/tests/qc/test_header.py index a474834..6ca9376 100644 --- a/tests/qc/test_header.py +++ b/tests/qc/test_header.py @@ -1,3 +1,4 @@ +"""Test the parsing of headers""" import pytest from hypothesis import given from hypothesis import strategies as st @@ -27,5 +28,6 @@ def test_valid_header_strains_passes_with_valid_headers(strains, headers): ("Individual", "AStrain", "AnotherStrain", "YetAnotherStrain", "AStrain"))]) def test_valid_header_fails_with_duplicate_headers(strains, headers): + """Check that parsing fails if any header is duplicated""" with pytest.raises(DuplicateHeader): valid_header(strains, headers) |