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
No files matched your search
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 491 B |
|
After Width: | Height: | Size: 946 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,5 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
||||||
|
<rect width="64" height="64" rx="14" fill="#1D4F7C"/>
|
||||||
|
<rect x="13" y="19" width="38" height="26" rx="3.5" fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linejoin="round"/>
|
||||||
|
<path d="M 14.5 20.5 L 32 34 L 49.5 20.5" fill="none" stroke="#FFFFFF" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 412 B |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,4 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
||||||
|
<rect x="13" y="19" width="38" height="26" rx="3.5" fill="none" stroke="#000000" stroke-width="5" stroke-linejoin="round"/>
|
||||||
|
<path d="M 14.5 20.5 L 32 34 L 49.5 20.5" fill="none" stroke="#000000" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 356 B |
@@ -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
|
||||||