fix testing and project page

This commit is contained in:
2025-04-28 10:42:28 +02:00
parent 9fa02fe15b
commit da9bde12da
6 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ async def test_home_route():
response = await client.get("/")
assert response.status_code == 200
# Verifica che il contenuto restituito contenga il testo che ci aspettiamo dal template
assert "<title>Hersel Giannella - PortFolio</title>" in response.text
assert "<title>Portfolio - Sistemista Windows/Linux e Sviluppatore Web</title>" in response.text
@pytest.mark.asyncio
async def test_404_route():