import pytest @pytest.mark.django_db def test_feed_endpoint(client): resp = client.get("/feed/") assert resp.status_code == 200 assert resp["Content-Type"].startswith("application/rss+xml")