MCPcopy
hub / github.com/dbcli/pgcli / test_raises_with_no_formatter

Function test_raises_with_no_formatter

tests/test_pgexecute.py:628–630  ·  view source on GitHub ↗
(executor, sql)

Source from the content-addressed store, hash-verified

626@dbtest
627@pytest.mark.parametrize("sql", ["invalid sql", "SELECT 1; select error;"])
628def test_raises_with_no_formatter(executor, sql):
629 with pytest.raises(psycopg.ProgrammingError):
630 list(executor.run(sql))
631
632
633@dbtest

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected