(self)
| 3864 | eq_(sess.query(Child).filter(Child.parent_id == p2.id).all(), [c1]) |
| 3865 | |
| 3866 | def test_o2o_delete_old(self): |
| 3867 | Child, Parent, parent, child = ( |
| 3868 | self.classes.Child, |
| 3869 | self.classes.Parent, |
| 3870 | self.tables.parent, |
| 3871 | self.tables.child, |
| 3872 | ) |
| 3873 | |
| 3874 | self.mapper_registry.map_imperatively( |
| 3875 | Parent, |
| 3876 | parent, |
| 3877 | properties={"child": relationship(Child, uselist=False)}, |
| 3878 | ) |
| 3879 | self.mapper_registry.map_imperatively(Child, child) |
| 3880 | self._do_move_test(True) |
| 3881 | self._do_move_test(False) |
| 3882 | |
| 3883 | def test_o2m_delete_old(self): |
| 3884 | Child, Parent, parent, child = ( |
nothing calls this directly
no test coverage detected