Replies: 1 comment 4 replies
-
Yes, pytest-pythonpath was integrated into pytest itself more or less.
No, I don't remember anything that should break pytest-pythonpath. I will create an issue from this discussion to investigate this. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have some utility helper code in a separate folder to our tests. Up until now we have this configured via pytest.ini like so:
This definition appears to be getting ignored after upgrading to pytest 7.0.0, which then gives us 'module not found' errors on tests trying to import utils. Reading around, it looks like this functionality is now built in to pytest and so is pytest-pythonpath obsolete?
I can get our tests passing again by updating to:
So the main question is, is this change in behaviour expected? Has the old method been deliberately disabled or should I raise a bug?
Beta Was this translation helpful? Give feedback.
All reactions