Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_citation_pattern_no_match(citation_string):
match = citation_pattern.fullmatch(citation_string)
assert match is None
def test_citation_pattern_match(citation_string):
match = citation_pattern.fullmatch(citation_string)
assert match