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:
+3
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user