Commit b1acaf4
committed
fix: Revert pytest hook parameter names to match hookspec
- Changed _item back to item in pytest_runtest_teardown
- Changed _session back to session in pytest_sessionfinish
- Pytest hooks require exact parameter names matching the hookspec
- Cannot use underscore prefix for unused parameters in hooks
- Fixes PluginValidationError when running pytest with --testiq-output
- All tests passing (190/190)1 parent 726674c commit b1acaf4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
0 commit comments