(self)
| 520 | ) |
| 521 | |
| 522 | def test_get_history(self): |
| 523 | Edge = self.classes.Edge |
| 524 | Point = self.classes.Point |
| 525 | from sqlalchemy.orm.attributes import get_history |
| 526 | |
| 527 | e1 = Edge() |
| 528 | e1.start = Point(1, 2) |
| 529 | eq_( |
| 530 | get_history(e1, "start"), |
| 531 | ([Point(x=1, y=2)], (), [Point(x=None, y=None)]), |
| 532 | ) |
| 533 | |
| 534 | eq_(get_history(e1, "end"), ((), [Point(x=None, y=None)], ())) |
| 535 | |
| 536 | def test_query_cols_legacy(self): |
| 537 | Edge = self.classes.Edge |
nothing calls this directly
no test coverage detected