(self)
| 186 | assert alias.id.__clause_element__().table is not table |
| 187 | |
| 188 | def test_named_entity(self): |
| 189 | class Point: |
| 190 | pass |
| 191 | |
| 192 | self._fixture(Point) |
| 193 | |
| 194 | alias = aliased(Point, name="pp") |
| 195 | |
| 196 | self.assert_compile( |
| 197 | select(alias), "SELECT pp.id, pp.x, pp.y FROM point AS pp" |
| 198 | ) |
| 199 | |
| 200 | def test_named_selectable(self): |
| 201 | class Point: |
nothing calls this directly
no test coverage detected