MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_default_level

Method test_default_level

test/engine/test_transaction.py:1211–1218  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1209 )
1210
1211 def test_default_level(self):
1212 eng = testing_engine(options=dict())
1213
1214 with eng.connect() as conn:
1215 isolation_level = eng.dialect.get_isolation_level(
1216 conn.connection.dbapi_connection
1217 )
1218 eq_(isolation_level, self._default_isolation_level())
1219
1220 def test_reset_level(self):
1221 eng = testing_engine(options=dict())

Callers

nothing calls this directly

Calls 5

testing_engineFunction · 0.90
eq_Function · 0.90
connectMethod · 0.45
get_isolation_levelMethod · 0.45

Tested by

no test coverage detected