MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_invalid_options

Method test_invalid_options

test/sql/test_external_traversal.py:2783–2792  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2781 eq_(s3.get_execution_options(), dict(foo="not bar"))
2782
2783 def test_invalid_options(self):
2784 assert_raises(
2785 exc.ArgumentError, select().execution_options, compiled_cache={}
2786 )
2787
2788 assert_raises(
2789 exc.ArgumentError,
2790 select().execution_options,
2791 isolation_level="READ_COMMITTED",
2792 )
2793
2794 # this feature not available yet
2795 def _NOTYET_test_execution_options_in_kwargs(self):

Callers

nothing calls this directly

Calls 2

assert_raisesFunction · 0.90
selectFunction · 0.90

Tested by

no test coverage detected