def test_parse_sql_must_raise_on_error(): parser.parse_sql("foobar")
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;"))