(self, entity_list, option)
| 1102 | ) |
| 1103 | |
| 1104 | def _assert_option(self, entity_list, option): |
| 1105 | Item = self.classes.Item |
| 1106 | |
| 1107 | context = ( |
| 1108 | fixture_session() |
| 1109 | .query(*entity_list) |
| 1110 | .options(joinedload(option)) |
| 1111 | ._compile_state() |
| 1112 | ) |
| 1113 | key = ("loader", (inspect(Item), inspect(Item).attrs.keywords)) |
| 1114 | assert key in context.attributes |
| 1115 | |
| 1116 | def _assert_loader_strategy_exception(self, entity_list, options, message): |
| 1117 | sess = fixture_session() |
no test coverage detected