MCPcopy Index your code
hub / github.com/dbcli/pgcli / test_escape_for_sql_statement_str

Function test_escape_for_sql_statement_str

tests/formatter/test_sqlformatter.py:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def test_escape_for_sql_statement_str():
22 example_str = "example str"
23 escaped_bytes = escape_for_sql_statement(example_str)
24 assert escaped_bytes == "'example str'"
25
26
27def test_output_sql_insert():

Callers

nothing calls this directly

Calls 1

escape_for_sql_statementFunction · 0.90

Tested by

no test coverage detected