Return a helper which offers a gethookrecorder(hook) method which returns a HookRecorder instance which helps to make assertions about called hooks.
(request: FixtureRequest)
| 191 | |
| 192 | @fixture |
| 193 | def _pytest(request: FixtureRequest) -> "PytestArg": |
| 194 | """Return a helper which offers a gethookrecorder(hook) method which |
| 195 | returns a HookRecorder instance which helps to make assertions about called |
| 196 | hooks.""" |
| 197 | return PytestArg(request) |
| 198 | |
| 199 | |
| 200 | class PytestArg: |