diff options
author | Frederick Muriuki Muriithi | 2022-04-20 13:26:20 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-04-20 13:26:20 +0300 |
commit | 5897b6ec7fbd1226cd68a292122cc494e46f6829 (patch) | |
tree | eb7cf72b8da2546aded142e684b9b84ac02a23d9 /tests/qc/test_header.py | |
parent | 8954890bd7410d79ce151196f406b8e1b6985238 (diff) | |
download | gn-uploader-5897b6ec7fbd1226cd68a292122cc494e46f6829.tar.gz |
Fix linting issues
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) |