From 2c2c8a63266b586e3782267fb361504e5ac05abe Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 30 Jun 2012 18:49:11 +0200 Subject: [PATCH] Isolated sitemaps test from ABSOLUTE_URL_OVERRIDES Refs #15988. --- django/contrib/sitemaps/tests/generic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/django/contrib/sitemaps/tests/generic.py b/django/contrib/sitemaps/tests/generic.py index 5f8b6b8be06..e392cbf909e 100644 --- a/django/contrib/sitemaps/tests/generic.py +++ b/django/contrib/sitemaps/tests/generic.py @@ -1,7 +1,9 @@ from django.contrib.auth.models import User +from django.test.utils import override_settings from .base import SitemapTestsBase +@override_settings(ABSOLUTE_URL_OVERRIDES={}) class GenericViewsSitemapTests(SitemapTestsBase): def test_generic_sitemap(self):