Files
main-site/apps/blog/tests/test_feeds.py

9 lines
204 B
Python

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")