MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_many_then_all

Method test_many_then_all

test/base/test_result.py:560–566  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

558 eq_(result.all(), [])
559
560 def test_many_then_all(self):
561 result = self._fixture()
562
563 eq_(result.fetchmany(3), [(1, 1, 1), (2, 1, 2), (1, 3, 2)])
564 eq_(result.all(), [(4, 1, 2)])
565
566 eq_(result.all(), [])
567
568 def test_scalars(self):
569 result = self._fixture()

Callers

nothing calls this directly

Calls 4

_fixtureMethod · 0.95
eq_Function · 0.90
fetchmanyMethod · 0.45
allMethod · 0.45

Tested by

no test coverage detected