(self)
| 245 | eq_(t.children[0].parent_uuid, t1.uuid) |
| 246 | |
| 247 | def test_lazy_clause(self): |
| 248 | TT = self.classes.TT |
| 249 | |
| 250 | s = fixture_session() |
| 251 | t1 = TT() |
| 252 | t2 = TT() |
| 253 | t1.children.append(t2) |
| 254 | s.add(t1) |
| 255 | s.flush() |
| 256 | s.expunge_all() |
| 257 | |
| 258 | t = s.query(TT).filter_by(id=t2.id).one() |
| 259 | eq_(t.uuid, t2.uuid) |
| 260 | eq_(t.parent.uuid, t1.uuid) |
| 261 | |
| 262 | |
| 263 | class InheritTestOne(fixtures.MappedTest): |
nothing calls this directly
no test coverage detected