示例#1
0
def test_invalid(query):
    e = Engine()
    with pytest.raises(SyntaxError):
        e.compile(query)
示例#2
0
def test_prepared_query(query):
    e = Engine()
    q = e.compile(query)
    e.query(q)
示例#3
0
def test_valid(query):
    e = Engine()
    e.compile(query)