test(palier-1): 16 tests — journal, métriques, détail, âge, WIP (52 verts)

FakeGitea étendu (get_issue, commentaires); le test de réconciliation
suit le nouveau retour de reconcile_board_state; l'assertion de
version suit APP_VERSION.
This commit is contained in:
Spark
2026-10-11 10:05:51 -04:00
parent 9bf24da04e
commit f1dd921e63
4 changed files with 234 additions and 2 deletions
+3 -1
View File
@@ -5,10 +5,12 @@ from tests.conftest import csrf_from
def test_health_is_public_liveness(client):
from app.config import APP_VERSION
r = client.get("/api/health")
assert r.status_code == 200
assert r.json()["status"] == "ok"
assert r.json()["version"] == "0.2.0"
assert r.json()["version"] == APP_VERSION
def test_readiness_reflects_gitea(client, fake_gitea):