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_is_parsable():
assert parser.is_parsable('')
assert parser.is_parsable({})
assert parser.is_parsable([])
assert not parser.is_parsable(None)
assert not parser.is_parsable(view.Element)
assert not parser.is_parsable(view.CustomElement)
def test_is_parsable():
assert parser.is_parsable('')
assert parser.is_parsable({})
assert parser.is_parsable([])
assert not parser.is_parsable(None)
assert not parser.is_parsable(view.Element)
assert not parser.is_parsable(view.CustomElement)
def test_is_parsable():
assert parser.is_parsable('')
assert parser.is_parsable({})
assert parser.is_parsable([])
assert not parser.is_parsable(None)
assert not parser.is_parsable(view.Element)
assert not parser.is_parsable(view.CustomElement)