T1-T4: tests de resilience, SDK PyPI ready, worker docker-compose, fix compat tests
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ async def test_invalid_key_returns_401(async_client: AsyncClient):
|
||||
headers={"Authorization": "Bearer invalid-key-that-does-not-exist"},
|
||||
)
|
||||
assert response.status_code == 401
|
||||
assert "Authentification requise" in response.json()["detail"]
|
||||
assert "API" in response.json()["detail"] or "Clé" in response.json()["detail"]
|
||||
|
||||
|
||||
async def test_no_bearer_prefix_returns_401(async_client: AsyncClient):
|
||||
|
||||
Reference in New Issue
Block a user