(self)
| 1078 | |
| 1079 | class GetTest(QueryTest): |
| 1080 | def test_loader_options(self): |
| 1081 | User = self.classes.User |
| 1082 | |
| 1083 | s = fixture_session() |
| 1084 | |
| 1085 | u1 = s.get(User, 8, options=[joinedload(User.addresses)]) |
| 1086 | eq_(len(u1.__dict__["addresses"]), 3) |
| 1087 | |
| 1088 | def test_get_composite_pk_keyword_based_no_result(self): |
| 1089 | CompositePk = self.classes.CompositePk |
nothing calls this directly
no test coverage detected