mirror of
https://github.com/django/django.git
synced 2024-12-26 02:56:25 +00:00
6417f5247b
Thanks, Andy Gayton. Fixed #4720. Refs #5855. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
15 lines
420 B
Python
15 lines
420 B
Python
# -*- 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)
|