add vscode integration for tests

This commit is contained in:
FuzzyGrim
2025-05-24 13:03:34 +02:00
parent 2398a3e8c4
commit 079adfc2c4
3 changed files with 9 additions and 0 deletions

View File

@@ -20,4 +20,9 @@
"[html][django-html][handlebars][hbs][mustache][jinja][jinja-html][nj][njk][nunjucks][twig]": {
"editor.defaultFormatter": "monosans.djlint"
},
"python.testing.pytestArgs": [
"src"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
}

3
pytest.ini Normal file
View File

@@ -0,0 +1,3 @@
[pytest]
DJANGO_SETTINGS_MODULE = config.test_settings
python_files = tests.py test_*.py *_tests.py

View File

@@ -1,6 +1,7 @@
coverage==7.8.1
djlint==1.36.4
fakeredis==2.29.0
pytest-django==4.11.1
pytest-playwright==0.7.0
ruff==0.11.10
tblib==3.1.0