1
0
mirror of https://github.com/django/django.git synced 2024-12-26 02:56:25 +00:00
django/tests/regressiontests/syndication/tests.py

15 lines
420 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
from django.test import TestCase
from django.test.client import Client
class SyndicationFeedTest(TestCase):
def test_complex_base_url(self):
"""
Tests that that the base url for a complex feed doesn't raise a 500
exception.
"""
c = Client()
response = c.get('/syndication/feeds/complex/')
self.assertEquals(response.status_code, 404)