Skip to content

Commit

Permalink
add key header tests
Browse files Browse the repository at this point in the history
  • Loading branch information
musasizivictoria committed Oct 17, 2024
1 parent 20c4177 commit be69e21
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/test_compound_identifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,3 @@ def test_is_key_header_positive(compound_identifier, header):
def test_is_key_header_negative(compound_identifier, header):
"""Test that invalid key headers return False."""
assert compound_identifier.is_key_header(header) is False

@pytest.mark.parametrize("header", ["output", "invalid", "InChI", "inchikey"])
def test_is_input_header_negative(compound_identifier, header):
"""Test that invalid input headers return False."""
assert compound_identifier.is_input_header(header) is False

@pytest.mark.parametrize("header", ["inchikey", "key", "INCHIKEY", "KEY"])
def test_is_key_header_positive(compound_identifier, header):
"""Test that valid key headers return True."""
assert compound_identifier.is_key_header(header) is True

@pytest.mark.parametrize("header", ["smiles", "input", "invalid", "123","someHeader"])
def test_is_key_header_negative(compound_identifier, header):
"""Test that invalid key headers return False."""
assert compound_identifier.is_key_header(header) is False

0 comments on commit be69e21

Please sign in to comment.