def test_escape_string_with_double_quote(): assert sql_query_dict.quote_string('"a') == "'\"a'"
def test_escape_string(): assert sql_query_dict.quote_string('a') == "'a'"
def test_escape_string_with_single_quote(): assert sql_query_dict.quote_string("'a") == '"\'a"'
def test_escape_string_with_single_and_double_quote(): assert sql_query_dict.quote_string(""" '" """) == """' \\\'" '"""