MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_thin_mode

Method test_thin_mode

test/dialect/oracle/test_dialect.py:134–139  ·  view source on GitHub ↗
(self, options)

Source from the content-addressed store, hash-verified

132
133 @testing.combinations({}, {"thick_mode": None}, {"thick_mode": False})
134 def test_thin_mode(self, options):
135 from ._oracledb_mode import run_thin_mode
136
137 mode, is_thin = self._run_in_process(run_thin_mode, options)
138 is_true(is_thin)
139 is_true(mode.startswith("python-oracledb thn"))
140
141 @testing.combinations(True, {}, {"driver_name": "custom-driver-name"})
142 def test_thick_mode(self, value):

Callers

nothing calls this directly

Calls 3

_run_in_processMethod · 0.95
is_trueFunction · 0.90
startswithMethod · 0.45

Tested by

no test coverage detected