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

Function test_expanded_slash_G

tests/test_pgexecute.py:89–94  ·  view source on GitHub ↗
(executor, pgspecial)

Source from the content-addressed store, hash-verified

87
88@dbtest
89def test_expanded_slash_G(executor, pgspecial):
90 # Tests whether we reset the expanded output after a \G.
91 run(executor, """create table test(a boolean)""")
92 run(executor, """insert into test values(True)""")
93 run(executor, r"""select * from test \G""", pgspecial=pgspecial)
94 assert pgspecial.expanded_output is False
95
96
97@dbtest

Callers

nothing calls this directly

Calls 1

runFunction · 0.90

Tested by

no test coverage detected