Open kloczek opened 2 years ago
I've been trying to run pytest with --pyargs pytest_django_test
but it did not helped.
How pytest-django
shoud be tested using pytest?
gentle ping 😃
I just had a similar problem when trying to test pytest-django on Solaris, and the problem was that pytest_django_test
isn't being delivered, meaning that if you are running the test suite on installed packages or in proto area (which was our issue), it won't work. Adding the source directory to PYTHONPATH
fixed the issue.
Just tested 4.8.0 with django 5.03, python 3.9.18 and pytest 8.1.1 and now pytest fails other way
I'm trying to package your module as an rpm package. So I'm using the typical build, install and test cycle used on building packages from non-root account.
pytest
is failing because it cannot findpytest_django_test
which is in project root directory. Is it any special methdod to preload that modules during the test suite execution?