feat(treblo): validation durcie, usage unique, 5 outils, code 6 chiffres et tests (ticket nyora-2026-10-216-c)
This commit is contained in:
1 parent
1d6c3a157d
commit
a4cbda385c
4 files changed
+490
-31
No files matched your search
@@ -18,7 +18,7 @@ AUTH_HEADERS_NYORA = {
|
||||
"Accept": "application/json, text/event-stream"
|
||||
}
|
||||
|
||||
EXPECTED_TOOLS = {"generer", "statut", "recuperer", "solde"}
|
||||
EXPECTED_TOOLS = {"generer", "recuperer", "solde", "statut", "valider"}
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def client():
|
||||
@@ -31,7 +31,7 @@ def test_health(client):
|
||||
data = r.json()
|
||||
assert data.get("status") == "ok"
|
||||
assert data.get("service") == "treblo-mcp"
|
||||
assert data.get("tools") == 4
|
||||
assert data.get("tools") == 5
|
||||
|
||||
def test_auth_rejection(client):
|
||||
# Sans auth
|
||||
|
||||
Reference in new issue
Block a user