Merged the tests and documentation from #4720 to support the changes in [7295].
[django.git] / tests / regressiontests / syndication / tests.py
blob6a9dd643d7419ed5a15e514d8c166f6b94e8df94
1 # -*- coding: utf-8 -*-
3 from django.test import TestCase
4 from django.test.client import Client
6 class SyndicationFeedTest(TestCase):
7 def test_complex_base_url(self):
8 """
9 Tests that that the base url for a complex feed doesn't raise a 500
10 exception.
11 """
12 c = Client()
13 response = c.get('/syndication/feeds/complex/')
14 self.assertEquals(response.status_code, 404)