Repository navigation
Commit 44a2530
committed
fix(ci): register pytest options in rootdir conftest for pytest 9.0
pytest 9.0 no longer loads pytest_addoption from tests/conftest.py when
the path comes from testpaths, breaking --wiki_domain/--wiki_username/
--wiki_password ("unrecognized arguments"). Move pytest_addoption to a
repo-root conftest.py (always loaded at startup) and drop the duplicate
from tests/conftest.py; option-backed fixtures stay in tests/conftest.py1 parent 316ce65 commit 44a2530
2 files changed
Lines changed: 19 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
| |||
0 commit comments