Add very basic tests

This commit is contained in:
Tobias Kunze 2025-03-23 00:03:04 +01:00
parent 832763cb2a
commit 1424fdf3bb
5 changed files with 137 additions and 3 deletions

View file

@ -22,12 +22,14 @@ dependencies = [
[dependency-groups]
dev = [
"black>=25.1.0",
"coverage>=7.7.0",
"djlint>=1.36.4",
"flake8>=7.1.2",
"flake8-bugbear>=24.12.12",
"flake8-pyproject>=1.2.3",
"isort>=6.0.1",
"pytest>=8.3.5",
"pytest-cov>=6.0.0",
"pytest-django>=4.10.0",
]
@ -41,3 +43,9 @@ exclude = ".venv"
[tool.djlint]
extend_exclude = "src/servala/static/mazer"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "servala.settings"
addopts = "-p no:doctest -p no:pastebin -p no:nose --cov=./ --cov-report=term-missing:skip-covered"
testpaths = "src/tests"
pythonpath = "src"