Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Isolated sitemaps test from ABSOLUTE_URL_OVERRIDES

Refs #15988.
  • Loading branch information...
commit 2c2c8a63266b586e3782267fb361504e5ac05abe 1 parent 5d81ad1
@claudep claudep authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/contrib/sitemaps/tests/generic.py
View
2  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):
Please sign in to comment.
Something went wrong with that request. Please try again.