Ticket #15753: fix_15753.diff
File fix_15753.diff, 801 bytes (added by , 14 years ago) |
---|
-
basic.py
old new from django.test import TestCase 9 9 from django.utils.unittest import skipUnless 10 10 from django.utils.formats import localize 11 11 from django.utils.translation import activate, deactivate 12 12 from django.core.cache import cache 13 13 14 14 class SitemapTests(TestCase): 15 15 urls = 'django.contrib.sitemaps.tests.urls' … … class SitemapTests(TestCase): 28 28 ) 29 29 # Create a user that will double as sitemap content 30 30 User.objects.create_user('testuser', 'test@example.com', 's3krit') 31 cache.clear() 31 32 32 33 def tearDown(self): 33 34 settings.USE_L10N = self.old_USE_L10N