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_prepare():
obj1 = object()
assert parser._prepare(obj1) is obj1
assert parser._prepare('one') == 'one'
assert parser._prepare('"one"') == 'one'
assert parser._prepare('[]') == []
assert parser._prepare('{}') == {}
def test_prepare():
obj1 = object()
assert parser._prepare(obj1) is obj1
assert parser._prepare('one') == 'one'
assert parser._prepare('"one"') == 'one'
assert parser._prepare('[]') == []
assert parser._prepare('{}') == {}
def test_prepare():
obj1 = object()
assert parser._prepare(obj1) is obj1
assert parser._prepare('one') == 'one'
assert parser._prepare('"one"') == 'one'
assert parser._prepare('[]') == []
assert parser._prepare('{}') == {}
def test_prepare():
obj1 = object()
assert parser._prepare(obj1) is obj1
assert parser._prepare('one') == 'one'
assert parser._prepare('"one"') == 'one'
assert parser._prepare('[]') == []
assert parser._prepare('{}') == {}