I’ll find a source in a sec, but basically pytest ...
# general
f
I’ll find a source in a sec, but basically pytest doesn’t look in all imported modules, just in the test’s own file (which is why importing the unused dep into the test file helps) and some other pre-configured set places (like conftest.py)
source on how pytest loads “plugins”, and I believe it only looks in plugins to find fixtures: https://docs.pytest.org/en/latest/writing_plugins.html#plugin-discovery-order-at-tool-startup