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_find_syntax_extension():
extension = cmark.find_syntax_extension('table')
assert extension is not None
def test_find_syntax_extension_doesnt_exist():
extension = cmark.find_syntax_extension('notarealext')
assert extension is None