Ticket #15237: 15237-reopened.patch
File 15237-reopened.patch, 1.5 KB (added by , 13 years ago) |
---|
-
django/utils/feedgenerator.py
285 285 286 286 class Atom1Feed(SyndicationFeed): 287 287 # Spec: http://atompub.org/2005/07/11/draft-ietf-atompub-format-10.html 288 mime_type = 'application/atom+xml; charset=utf 8'288 mime_type = 'application/atom+xml; charset=utf-8' 289 289 ns = u"http://www.w3.org/2005/Atom" 290 290 291 291 def write(self, outfile, encoding): -
tests/regressiontests/signing/tests.py
13 13 for s in ( 14 14 'hello', 15 15 '3098247:529:087:', 16 u'\u2019'.encode('utf 8'),16 u'\u2019'.encode('utf-8'), 17 17 ): 18 18 self.assertEqual( 19 19 signer.signature(s), -
tests/regressiontests/utils/feedgenerator.py
66 66 """ 67 67 atom_feed = feedgenerator.Atom1Feed("title", "link", "description") 68 68 self.assertEqual( 69 atom_feed.mime_type, "application/atom+xml; charset=utf 8"69 atom_feed.mime_type, "application/atom+xml; charset=utf-8" 70 70 ) 71 71