summaryrefslogtreecommitdiffstats
path: root/news/tests.py
blob: efb721e75dfc1a08365c2c44ec73892ce787f9c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
from django.test import TestCase

class NewTest(TestCase):

    def test_feed(self):
        response = self.client.get('/feeds/news/')
        self.assertEqual(response.status_code, 200)

    def test_sitemap(self):
        response = self.client.get('/sitemap-news.xml')
        self.assertEqual(response.status_code, 200)