dnscms: add some basic tests

This commit is contained in:
2026-05-15 02:58:41 +02:00
parent d0a886a4ae
commit 202cfe47f3
10 changed files with 345 additions and 8 deletions
+8
View File
@@ -18,6 +18,9 @@ dependencies = [
[dependency-groups]
dev = [
"ruff>=0.15.1",
"pytest>=8.3",
"pytest-django>=4.9",
"wagtail-factories>=4.2",
]
[tool.uv]
@@ -34,3 +37,8 @@ line-length = 99
select = ["F", "E", "W", "Q", "UP", "DJ"]
ignore = []
exclude = ["**/migrations/*.py"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "dnscms.settings.test"
python_files = ["test_*.py"]
testpaths = ["tests"]