(self)
| 2873 | assert "name" in attributes.instance_state(thing).dict |
| 2874 | |
| 2875 | def test_no_previous_query(self): |
| 2876 | Thing = self.classes.Thing |
| 2877 | |
| 2878 | session = fixture_session() |
| 2879 | thing = ( |
| 2880 | session.query(Thing).options(sa.orm.undefer(Thing.name)).first() |
| 2881 | ) |
| 2882 | self._test(thing) |
| 2883 | |
| 2884 | def test_query_twice_with_clear(self): |
| 2885 | Thing = self.classes.Thing |