mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-03-03 00:37:01 +00:00
add vscode integration for tests
This commit is contained in:
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@@ -20,4 +20,9 @@
|
|||||||
"[html][django-html][handlebars][hbs][mustache][jinja][jinja-html][nj][njk][nunjucks][twig]": {
|
"[html][django-html][handlebars][hbs][mustache][jinja][jinja-html][nj][njk][nunjucks][twig]": {
|
||||||
"editor.defaultFormatter": "monosans.djlint"
|
"editor.defaultFormatter": "monosans.djlint"
|
||||||
},
|
},
|
||||||
|
"python.testing.pytestArgs": [
|
||||||
|
"src"
|
||||||
|
],
|
||||||
|
"python.testing.unittestEnabled": false,
|
||||||
|
"python.testing.pytestEnabled": true,
|
||||||
}
|
}
|
||||||
3
pytest.ini
Normal file
3
pytest.ini
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[pytest]
|
||||||
|
DJANGO_SETTINGS_MODULE = config.test_settings
|
||||||
|
python_files = tests.py test_*.py *_tests.py
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
coverage==7.8.1
|
coverage==7.8.1
|
||||||
djlint==1.36.4
|
djlint==1.36.4
|
||||||
fakeredis==2.29.0
|
fakeredis==2.29.0
|
||||||
|
pytest-django==4.11.1
|
||||||
pytest-playwright==0.7.0
|
pytest-playwright==0.7.0
|
||||||
ruff==0.11.10
|
ruff==0.11.10
|
||||||
tblib==3.1.0
|
tblib==3.1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user