9 lines
204 B
Python
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")
|