(self)
| 209 | ) |
| 210 | |
| 211 | def test_set_strat_ent(self): |
| 212 | User = self.classes.User |
| 213 | |
| 214 | l1 = Load(User) |
| 215 | l2 = l1.joinedload(User.addresses) |
| 216 | |
| 217 | s = fixture_session() |
| 218 | q1 = s.query(User).options(l2) |
| 219 | attr = q1._compile_context().attributes |
| 220 | |
| 221 | eq_( |
| 222 | attr[("loader", self._make_path([User, "addresses"]))], |
| 223 | l2.context[0], |
| 224 | ) |
| 225 | |
| 226 | def test_set_strat_col(self): |
| 227 | User = self.classes.User |
nothing calls this directly
no test coverage detected