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

Function test_nonexistent_view_definition

tests/test_pgexecute.py:722–726  ·  view source on GitHub ↗
(executor)

Source from the content-addressed store, hash-verified

720
721@dbtest
722def test_nonexistent_view_definition(executor):
723 with pytest.raises(RuntimeError):
724 executor.view_definition("there_is_no_such_view")
725 with pytest.raises(RuntimeError):
726 executor.view_definition("mvw1")
727
728
729@dbtest

Callers

nothing calls this directly

Calls 1

view_definitionMethod · 0.80

Tested by

no test coverage detected