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