MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_spoiled

Method test_spoiled

test/ext/test_baked.py:423–429  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

421 eq_(list(result)[0], (7,))
422
423 def test_spoiled(self):
424 with self._fixture() as (sess, bq):
425 result = bq.spoil()(sess).with_post_criteria(
426 lambda q: q.execution_options(yes=True)
427 )
428
429 eq_(list(result)[0], (7,))
430
431 def test_get(self):
432 User = self.classes.User

Callers

nothing calls this directly

Calls 5

_fixtureMethod · 0.95
eq_Function · 0.90
with_post_criteriaMethod · 0.80
spoilMethod · 0.45
execution_optionsMethod · 0.45

Tested by

no test coverage detected