MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_select_alias_column

Method test_select_alias_column

test/sql/test_selectable.py:3905–3911  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3903 assert t.c.x not in mapping
3904
3905 def test_select_alias_column(self):
3906 t = self._fixture()
3907 x, y = t.c.x, t.c.y
3908 s = select(x, y).alias()
3909 mapping = self._mapping(s)
3910
3911 assert t.c.x in mapping
3912
3913 def test_select_alias_column_apply_labels(self):
3914 t = self._fixture()

Callers

nothing calls this directly

Calls 4

_fixtureMethod · 0.95
_mappingMethod · 0.95
selectFunction · 0.90
aliasMethod · 0.45

Tested by

no test coverage detected