MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_invalid_options

Method test_invalid_options

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

Source from the content-addressed store, hash-verified

2797 eq_(s3.get_execution_options(), dict(foo="not bar"))
2798
2799 def test_invalid_options(self):
2800 assert_raises(
2801 exc.ArgumentError, select().execution_options, compiled_cache={}
2802 )
2803
2804 assert_raises(
2805 exc.ArgumentError,
2806 select().execution_options,
2807 isolation_level="READ_COMMITTED",
2808 )
2809
2810 # this feature not available yet
2811 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