diff --git a/backend/app/tests/test_routers.py b/backend/app/tests/test_routers.py index 6e9a0df..dcfffce 100644 --- a/backend/app/tests/test_routers.py +++ b/backend/app/tests/test_routers.py @@ -184,7 +184,7 @@ def test_get_newsletter_feed(client: TestClient): ns = {"atom": "http://www.w3.org/2005/Atom"} links = root.findall("atom:link", ns) assert any( - link.get("rel") == "alternate" and link.get("href") == "http://localhost:8000" + link.get("rel") == "alternate" and link.get("href") == "http://localhost:8000/" for link in links ) logo = root.find("atom:logo", ns) diff --git a/backend/app/tests/test_services.py b/backend/app/tests/test_services.py index 3f57a3a..3bb4652 100644 --- a/backend/app/tests/test_services.py +++ b/backend/app/tests/test_services.py @@ -40,7 +40,7 @@ def test_generate_feed(db_session: Session): # In a real scenario, you'd use an XML parser to validate structure and content more thoroughly assert f"