MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_iter

Method test_iter

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

Source from the content-addressed store, hash-verified

414 eq_(result.first(), (7,))
415
416 def test_iter(self):
417 with self._fixture() as (sess, bq):
418 result = bq(sess).with_post_criteria(
419 lambda q: q.execution_options(yes=True)
420 )
421 eq_(list(result)[0], (7,))
422
423 def test_spoiled(self):
424 with self._fixture() as (sess, bq):

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected