When the conftest.py files are looked for intially they got loaded starting from the subdir ending at the parent dir(s). Later on during collection any conftest.py files are loaded starting from the parent dir ending at the subdir. Due to how extending fixtures works the latter is correct as otherwise the wrong fixture will be available. So this changes the initial conftest loading to start at the root and go towards the subdir. This does also affect the order of other hooks, hence the order of the reporting being different in testing/test_terminal.py. |
||
---|---|---|
.. | ||
collect.py | ||
fixture.py | ||
integration.py | ||
metafunc.py | ||
raises.py |