Exemplo n.º 1
0
def test_parse_sql_must_raise_on_error():
    parser.parse_sql("foobar")
Exemplo n.º 2
0
def test_parse_sql_must_raise_on_error():
    parser.parse_sql("foobar")
Exemplo n.º 3
0
def test_parse_sql_is_able_to_parse_both_select_and_delete():
    ok_("select" in parser.parse_sql("SELECT * FROM leela.xmpp;"))
    ok_("delete" in parser.parse_sql("DELETE FROM leela.xmpp;"))
Exemplo n.º 4
0
def test_parse_sql_is_able_to_parse_both_select_and_delete():
    ok_("select" in parser.parse_sql("SELECT * FROM leela.xmpp;"))
    ok_("delete" in parser.parse_sql("DELETE FROM leela.xmpp;"))