dnscms: add some basic tests
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user