pytest-django icon indicating copy to clipboard operation
pytest-django copied to clipboard

DJANGO_SETTINGS_MODULE in configuration file is not working when start pytest with django-admin

Open jxltom opened this issue 6 years ago • 2 comments
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!

jxltom avatar Nov 27 '18 02:11 jxltom

I think I have the same issue too.

aidiss avatar Jul 10 '20 06:07 aidiss

years go by problems remain relevant

ilyafreer avatar Oct 24 '22 13:10 ilyafreer