File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 22* .pyc
33.idea
44coverage_report
5+ htmlcov /
56.vscode /
67static /
78profile_images /
Original file line number Diff line number Diff line change 2929# we can also use python -m django runserver but for this we need to have ENV variabale set
3030# we can also use django-admin runserver but for this we need to have ENV variabale set
3131# export DJANGO_SETTINGS_MODULE=django_app.settings and also export the python path export PYTHONPATH=. or source the env.sh file
32+
33+
34+ #pytest --reuse-db --cov --nomigrations
Original file line number Diff line number Diff line change 11[pytest]
22DJANGO_SETTINGS_MODULE = django_app.test_settings
33testpaths = testing
4- python_files = tests.py test_*.py *_tests.py
4+ python_files = tests.py test_*.py *_tests.py
5+ addopts =--cov --cov-report =html
You can’t perform that action at this time.
0 commit comments