Revamp zone sync and add tests

This commit is contained in:
ponas committed 2026-03-19 00:28:39 +01:00
1 parent 0123dd1e3b
commit e96948080f
11 files changed
+792 -184

No files matched your search

+8 -1
View File
@@ -5,7 +5,7 @@ description = "Machine Database - A Django app for managing computer equipment"
authors = [
{ name = "EDB", email = "edb@neuf.no" },
]
requires-python = "~=3.10"
requires-python = ">=3.10"
license = "GPL-2.0-or-later"
dependencies = [
"django>=5.2.1",
@@ -13,6 +13,7 @@ dependencies = [
"django-extensions>=4.1",
"djangorestframework>=3.16.0",
"fabric>=2.7.1",
"freezegun>=1.5.5",
"gunicorn>=23.0.0",
"ipaddress>=1.0.23,<2.0.0",
"mysqlclient>=2.0.3,<3.0.0",
@@ -22,9 +23,15 @@ dependencies = [
[dependency-groups]
dev = [
"fabric>=2.6.0,<3.0.0",
"pytest>=9.0.2",
"pytest-django>=4.12.0",
"ruff>=0.11.9,<1.0.0",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "mdbsite.settings"
python_files = ["tests/test_*.py"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"