Closed kloczek closed 7 months ago
You need to run pytest with PYTHONPATH=<absolute path to source code root>
. Unfortunately using pytest's pythonpath
config doesn't work because subprocesses are used in some tests. I've been meaning to fix this (it requires a fix in Pytester.popen
in pytest) but haven't got to it.
You need to run pytest with
PYTHONPATH=<absolute path to source code root>
. Unfortunately using pytest'spythonpath
config doesn't work because subprocesses are used in some tests. I've been meaning to fix this (it requires a fix inPytester.popen
in pytest) but haven't got to it.
This will cause that it will be tested pytest-django
from source tree.
I think that probably the best would be merge pytest_django_test/ with tests/ 🤔
This should be fixed in the next version
Here is pytest output:
Looks like this module is in source tree in pytest_django_test/ however it is not build on pep517 build procedure or there is no any pytest options in pytest.ini or pyproject.toml to add use this module on testing. Any hints how testing should be done? 🤔