MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_columns_unique_freeze

Method test_columns_unique_freeze

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

Source from the content-addressed store, hash-verified

951 eq_(r2.fetchall(), [])
952
953 def test_columns_unique_freeze(self):
954 result = self._fixture()
955
956 result = result.columns("b", "c").unique()
957
958 frozen = result.freeze()
959
960 r1 = frozen()
961 eq_(r1.fetchall(), [(1, 1), (1, 2), (3, 2)])
962
963 def test_columns_unique_freeze_w_unique_filters(self):
964 result = self._fixture(default_filters=[id, None, None])

Callers

nothing calls this directly

Calls 6

_fixtureMethod · 0.95
eq_Function · 0.90
uniqueMethod · 0.45
columnsMethod · 0.45
freezeMethod · 0.45
fetchallMethod · 0.45

Tested by

no test coverage detected