Addpytest configurations to point out where the settings.py file is located
Run collectstatic command before tests
Tests failed because during the tests there is no static files in the project directory. This can be observed by locally deleting the staticfiles folder from the project and running pytest command
pytest
configurations to point out where thesettings.py
file is locatedTests failed because during the tests there is no static files in the project directory. This can be observed by locally deleting the
staticfiles
folder from the project and runningpytest
command