tt-2026-11-062: favicons et icones de l application (livrees par Gemini, integrees et testees)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGaEeS4wbkMHuVXmz5fqkh
This commit is contained in:
1 parent
139b516782
commit
40d416d551
10 files changed
+22
No files matched your search
@@ -0,0 +1,13 @@
|
||||
from fastapi.testclient import TestClient
|
||||
from app.main import app, ICONES
|
||||
|
||||
|
||||
def test_icones_servies_sans_jeton():
|
||||
c = TestClient(app)
|
||||
for nom in ICONES:
|
||||
r = c.get("/" + nom)
|
||||
assert r.status_code == 200, nom
|
||||
assert len(r.content) > 100, nom
|
||||
assert c.get("/favicon.ico").content[:4] == b"\x00\x00\x01\x00"
|
||||
assert c.get("/apple-touch-icon.png").content[:8] == b"\x89PNG\r\n\x1a\n"
|
||||
assert b"1D4F7C" in c.get("/favicon.svg").content
|
||||
Reference in new issue
Block a user