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

Function test_on_error_resume

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

Source from the content-addressed store, hash-verified

632
633@dbtest
634def test_on_error_resume(executor, exception_formatter):
635 sql = "select 1; error; select 1;"
636 result = list(executor.run(sql, on_error_resume=True, exception_formatter=exception_formatter))
637 assert len(result) == 3
638
639
640@dbtest

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected