MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_columns

Method test_columns

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

Source from the content-addressed store, hash-verified

3714 assert r.closed
3715
3716 def test_columns(self, connection, merge_fixture):
3717 r1, r2, r3, r4 = merge_fixture(connection)
3718
3719 result = r1.merge(r2, r3, r4)
3720 eq_(
3721 result.columns("user_name").fetchmany(4),
3722 [("u1",), ("u2",), ("u3",), ("u4",)],
3723 )
3724 result.close()
3725
3726
3727class 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