You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
python: a class that overrides a module-level fixture still has its tests credited to the module fixture #1512
axiomcode impact app/accounts.py:1 --tests prints 3 of 3 ... via account: TestOverride::test_in_class, TestPlain::test_no_override, test_accounts.py::test_module_level. pytest serves test_in_class from TestOverride.account only. The control, impact app/accounts.py:2 --tests, is right: 1 of 3 ... TestOverride::test_in_class. The MCP axiomcode_impact tool answers the same.
Root cause
plugins/axiomcode/skills/axiomcode/scripts/dl/impact.dl:825-826: a fixture with no owner (!owner(fx, _)) is matched to every test in its path scope that takes the parameter name. Nothing checks whether a same-named fixture on the test's own class, or a base class, shadows it.
Expected: impact app/accounts.py:1 --tests lists TestPlain::test_no_override and test_module_level only.
Activity
swapnilpaliwal-sd commentedon Sep 28, 2026
Fixed by #1631.
impact: a C# test class member serves the tests the runner or a call …
impact: a C# test class member serves the tests the runner or a call …
python: a pytest fixture reaches exactly the tests that receive it (A…