(self)
| 2932 | self._test(thing) |
| 2933 | |
| 2934 | def test_join_with_clear(self): |
| 2935 | Thing, Human = self.classes.Thing, self.classes.Human |
| 2936 | |
| 2937 | session = fixture_session() |
| 2938 | result = ( # noqa |
| 2939 | session.query(Human).add_entity(Thing).join(Human.thing).first() |
| 2940 | ) |
| 2941 | session.expunge_all() |
| 2942 | thing = ( |
| 2943 | session.query(Thing).options(sa.orm.undefer(Thing.name)).first() |
| 2944 | ) |
| 2945 | self._test(thing) |
| 2946 | |
| 2947 | def test_join_no_clear(self): |
| 2948 | Thing, Human = self.classes.Thing, self.classes.Human |
nothing calls this directly
no test coverage detected