MCPcopy
hub / github.com/psycopg/psycopg / test_no_conn

Method test_no_conn

tests/test_sql.py:512–514  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

510 assert got == eur.encode(encoding)
511
512 def test_no_conn(self):
513 assert sql.SQL(eur).as_string() == eur
514 assert sql.SQL(eur).as_bytes() == eur.encode()
515
516
517class TestComposed:

Callers

nothing calls this directly

Calls 2

as_stringMethod · 0.45
as_bytesMethod · 0.45

Tested by

no test coverage detected