(summary) add minimal test suite for health endpoint

Based on cameldev's work, introduce basic tests to ensure the
health endpoint responds correctly.
This commit is contained in:
lebaudantoine
2026-03-17 22:08:00 +01:00
committed by aleb_the_flash
parent bfbfade99a
commit 83bd9c5ce3
6 changed files with 51 additions and 0 deletions
+9
View File
@@ -21,8 +21,16 @@ dependencies = [
[project.optional-dependencies]
dev = [
"ruff==0.14.4",
"pytest==9.0.2",
"responses>=0.25.8",
]
[tool.pytest.ini_options]
markers = [
"api: Test the API",
]
testpaths = ["tests"]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
@@ -49,6 +57,7 @@ select = [
"T20", # flake8-print
"W", # pycodestyle warning
]
ignore= ["PLR2004"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = [