diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-10-04 05:50:18 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-10-04 08:50:18 -0400 |
| commit | 9b508bdb9ba522750fa72d49c2190ed9a0ed1290 (patch) | |
| tree | 33b5dcc83e31c14d997d2fa9ede3c3b62ae4357e /tests | |
| parent | 277017aea4cf72a1797102e6d129165181d04e17 (diff) | |
Removed unnecessary skipUnless in HTTPSitemapTests.
contrib.sites is included in INSTALLED_APPS by SitemapTestsBase.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/sitemaps_tests/test_http.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/sitemaps_tests/test_http.py b/tests/sitemaps_tests/test_http.py index b1797840b3..e757170241 100644 --- a/tests/sitemaps_tests/test_http.py +++ b/tests/sitemaps_tests/test_http.py @@ -2,7 +2,6 @@ import os from datetime import date from unittest import skipUnless -from django.apps import apps from django.conf import settings from django.contrib.sitemaps import Sitemap from django.contrib.sites.models import Site @@ -203,8 +202,6 @@ class HTTPSitemapTests(SitemapTestsBase): """ % date.today() self.assertXMLEqual(response.content.decode(), expected_content) - @skipUnless(apps.is_installed('django.contrib.sites'), - "django.contrib.sites app not installed.") def test_sitemap_get_urls_no_site_1(self): """ Check we get ImproperlyConfigured if we don't pass a site object to |
