Yield all SubRequests in the chain, from self up. Note: does *not* yield the TopRequest.
(self)
| 635 | return fixturedef.cached_result[0] |
| 636 | |
| 637 | def _iter_chain(self) -> Iterator[SubRequest]: |
| 638 | """Yield all SubRequests in the chain, from self up. |
| 639 | |
| 640 | Note: does *not* yield the TopRequest. |
| 641 | """ |
| 642 | current = self |
| 643 | while isinstance(current, SubRequest): |
| 644 | yield current |
| 645 | current = current._parent_request |
| 646 | |
| 647 | def _get_active_fixturedef(self, argname: str) -> FixtureDef[object]: |
| 648 | if argname == "request": |
no outgoing calls
no test coverage detected