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

Function test_echo_works

tests/test_main.py:357–361  ·  view source on GitHub ↗
(executor)

Source from the content-addressed store, hash-verified

355
356@dbtest
357def test_echo_works(executor):
358 cli = PGCli(pgexecute=executor)
359 statement = r"\echo asdf"
360 result = run(executor, statement, pgspecial=cli.pgspecial)
361 assert result == ["asdf"]
362
363
364@dbtest

Callers

nothing calls this directly

Calls 2

PGCliClass · 0.90
runFunction · 0.90

Tested by

no test coverage detected