MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_plain

Method test_plain

test/orm/test_lockmode.py:150–154  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148 sess.close()
149
150 def test_plain(self):
151 User = self.classes.User
152 sess = fixture_session()
153 sess.query(User).with_for_update().all()
154 sess.close()
155
156
157class CompileTest(_fixtures.FixtureTest, AssertsCompiledSQL):

Callers

nothing calls this directly

Calls 5

fixture_sessionFunction · 0.90
allMethod · 0.45
with_for_updateMethod · 0.45
queryMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected