pytest-django
pytest-django copied to clipboard
DJANGO_SETTINGS_MODULE in configuration file is not working when start pytest with django-admin
trafficstars
If I setup a django test runner for pytest and start pytest with python manage.py test, DJANGO_SETTINGS_MODULE in configurations such as setup.cfg or pytest.ini does not work since DJANGO_SETTINGS_MODULE is already loaded in manage.py
Any solutions for this? Thanks!
I think I have the same issue too.
years go by problems remain relevant