Ticket #14833: 14833_skip_sitemap_test.diff
File 14833_skip_sitemap_test.diff, 885 bytes (added by , 14 years ago) |
---|
-
django/contrib/sitemaps/tests/basic.py
5 5 from django.contrib.sites.models import Site 6 6 from django.core.exceptions import ImproperlyConfigured 7 7 from django.test import TestCase 8 from django.utils.unittest import skipUnless 8 from django.utils.unittest import skipUnless, skipIf 9 9 from django.utils.formats import localize 10 10 from django.utils.translation import activate, deactivate 11 11 … … 34 34 </urlset> 35 35 """ % date.today().strftime('%Y-%m-%d')) 36 36 37 @skipIf(not settings.USE_I18N, "Internationalization is turned off") 37 38 def test_localized_priority(self): 38 39 "The priority value should not be localized (Refs #14164)" 39 40 # Localization should be active