| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hi @last-partizan , I looked at your PR and slightly improved it. Now my problem is that the test does not seem to run at all :) Could it be that this correspond to an old behaviour from pytest ? Maybe pytest does not run anymore a collected file that is named tests.py . |
Sorry, something went wrong.
|
Yes. It seems to be the case.
I think pytest never collected tests.py by default, but I have this configured in pytest.ini python_files = tests.py test_*.py *_tests.py |
Sorry, something went wrong.
| # pytest default configuration | ||
| [tool:pytest] | ||
| testpaths = tests/ | ||
| python_files = tests.py test_*.py *_tests.py |
There was a problem hiding this comment.
I have added same config option here, if that's okay.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #366
Hi, i noticed that after updating to 3.8.5 this package stopped loading cases from tests_cases.py.
This PR fixes it.
Can this be accepted? Or it's better for me to rename my tests.py to test_something.py?