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

Function test_on_error_stop

tests/test_pgexecute.py:641–644  ·  view source on GitHub ↗
(executor, exception_formatter)

Source from the content-addressed store, hash-verified

639
640@dbtest
641def test_on_error_stop(executor, exception_formatter):
642 sql = "select 1; error; select 1;"
643 result = list(executor.run(sql, on_error_resume=False, exception_formatter=exception_formatter))
644 assert len(result) == 2
645
646
647# @dbtest

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected