mirror of
https://github.com/django/django.git
synced 2025-11-03 05:13:23 +00:00
Fixed #14833 -- Skip the sitemaps localization test if i18n isn't enabled. 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
This commit is contained in:
parent
50e3b9d028
commit
23a19240da
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ class SitemapTests(TestCase):
|
|||
</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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue