MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_columns

Method test_columns

test/sql/test_resultset.py:3804–3812  ·  view source on GitHub ↗
(self, connection, merge_fixture)

Source from the content-addressed store, hash-verified

3802 assert r.closed
3803
3804 def test_columns(self, connection, merge_fixture):
3805 r1, r2, r3, r4 = merge_fixture(connection)
3806
3807 result = r1.merge(r2, r3, r4)
3808 eq_(
3809 result.columns("user_name").fetchmany(4),
3810 [("u1",), ("u2",), ("u3",), ("u4",)],
3811 )
3812 result.close()
3813
3814
3815class GenerativeResultTest(fixtures.TablesTest):

Callers

nothing calls this directly

Calls 5

eq_Function · 0.90
mergeMethod · 0.45
fetchmanyMethod · 0.45
columnsMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected