Fix the other test for #15237.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Paul McMillan 2012-02-11 00:05:57 +00:00
parent 114b655247
commit 4768f39c95
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class CommentFeedTests(CommentTestCase):
def test_feed(self): def test_feed(self):
response = self.client.get(self.feed_url) response = self.client.get(self.feed_url)
self.assertEqual(response.status_code, 200) self.assertEqual(response.status_code, 200)
self.assertEqual(response['Content-Type'], 'application/rss+xml') self.assertEqual(response['Content-Type'], 'application/rss+xml; charset=utf-8')
self.assertContains(response, '<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">') self.assertContains(response, '<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">')
self.assertContains(response, '<title>example.com comments</title>') self.assertContains(response, '<title>example.com comments</title>')
self.assertContains(response, '<link>http://example.com/</link>') self.assertContains(response, '<link>http://example.com/</link>')