Skip to content
Browse files

Fixed #14833 -- Skip the sitemaps localization test if i18n isn't ena…

…bled. Thanks to Julien Phalip for the report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 50e3b9d commit 23a19240da9894c9784952693d194c8894f077cf @freakboy3742 freakboy3742 committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/contrib/sitemaps/tests/basic.py
View
1 django/contrib/sitemaps/tests/basic.py
@@ -34,6 +34,7 @@ def test_simple_sitemap(self):
</urlset>
""" % date.today().strftime('%Y-%m-%d'))
+ @skipUnless(settings.USE_I18N, "Internationalization is not enabled")
def test_localized_priority(self):
"The priority value should not be localized (Refs #14164)"
# Localization should be active

0 comments on commit 23a1924

Please sign in to comment.
Something went wrong with that request. Please try again.