MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_fetchall

Method test_fetchall

test/base/test_result.py:1059–1073  ·  view source on GitHub ↗
(self, merge_fixture)

Source from the content-addressed store, hash-verified

1057 result.close()
1058
1059 def test_fetchall(self, merge_fixture):
1060 r1, r2, r3, r4 = merge_fixture
1061
1062 result = r1.merge(r2, r3, r4)
1063 eq_(
1064 result.fetchall(),
1065 [
1066 (7, "u1"),
1067 (8, "u2"),
1068 (9, "u3"),
1069 (10, "u4"),
1070 (11, "u5"),
1071 (12, "u6"),
1072 ],
1073 )
1074
1075 def test_first(self, merge_fixture):
1076 r1, r2, r3, r4 = merge_fixture

Callers

nothing calls this directly

Calls 3

eq_Function · 0.90
mergeMethod · 0.45
fetchallMethod · 0.45

Tested by

no test coverage detected