MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_thick_mode

Method test_thick_mode

test/dialect/oracle/test_dialect.py:142–150  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

140
141 @testing.combinations(True, {}, {"driver_name": "custom-driver-name"})
142 def test_thick_mode(self, value):
143 from ._oracledb_mode import run_thick_mode
144
145 mode, is_thin = self._run_in_process(
146 run_thick_mode, {"thick_mode": value}
147 )
148 is_false(is_thin)
149 if isinstance(value, dict) and value.get("driver_name"):
150 eq_(mode.strip(), "custom-driver-name")
151
152
153class DialectWBackendTest(fixtures.TestBase):

Callers

nothing calls this directly

Calls 5

_run_in_processMethod · 0.95
is_falseFunction · 0.90
eq_Function · 0.90
stripMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected