(self)
| 1536 | eq_(e1, Edge(start=Point(3, 4), end=Point(5, 6))) |
| 1537 | |
| 1538 | def test_columns(self): |
| 1539 | edge, Edge, Point = ( |
| 1540 | self.tables.edge, |
| 1541 | self.classes.Edge, |
| 1542 | self.classes.Point, |
| 1543 | ) |
| 1544 | |
| 1545 | self.mapper_registry.map_imperatively( |
| 1546 | Edge, |
| 1547 | edge, |
| 1548 | properties={ |
| 1549 | "start": sa.orm.composite(Point, edge.c.x1, edge.c.y1), |
| 1550 | "end": sa.orm.composite(Point, edge.c.x2, edge.c.y2), |
| 1551 | }, |
| 1552 | ) |
| 1553 | |
| 1554 | self._test_roundtrip() |
| 1555 | |
| 1556 | def test_attributes(self): |
| 1557 | edge, Edge, Point = ( |
nothing calls this directly
no test coverage detected