From e3cfbaaca45bad6d1f064644c9bab7b2f3a38708 Mon Sep 17 00:00:00 2001 From: Preston Timmons Date: Tue, 2 Apr 2013 23:45:54 +0000 Subject: [PATCH] Modified sitemaps to work with unittest2 discovery. --- django/contrib/sitemaps/tests/__init__.py | 8 ++++---- .../sitemaps/tests/{flatpages.py => test_flatpages.py} | 0 .../sitemaps/tests/{generic.py => test_generic.py} | 0 django/contrib/sitemaps/tests/{http.py => test_http.py} | 0 django/contrib/sitemaps/tests/{https.py => test_https.py} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename django/contrib/sitemaps/tests/{flatpages.py => test_flatpages.py} (100%) rename django/contrib/sitemaps/tests/{generic.py => test_generic.py} (100%) rename django/contrib/sitemaps/tests/{http.py => test_http.py} (100%) rename django/contrib/sitemaps/tests/{https.py => test_https.py} (100%) diff --git a/django/contrib/sitemaps/tests/__init__.py b/django/contrib/sitemaps/tests/__init__.py index b9cf5f7a7f..fdbb9696d5 100644 --- a/django/contrib/sitemaps/tests/__init__.py +++ b/django/contrib/sitemaps/tests/__init__.py @@ -1,4 +1,4 @@ -from .flatpages import FlatpagesSitemapTests -from .generic import GenericViewsSitemapTests -from .http import HTTPSitemapTests -from .https import HTTPSSitemapTests, HTTPSDetectionSitemapTests +from .test_flatpages import FlatpagesSitemapTests +from .test_generic import GenericViewsSitemapTests +from .test_http import HTTPSitemapTests +from .test_https import HTTPSSitemapTests, HTTPSDetectionSitemapTests diff --git a/django/contrib/sitemaps/tests/flatpages.py b/django/contrib/sitemaps/tests/test_flatpages.py similarity index 100% rename from django/contrib/sitemaps/tests/flatpages.py rename to django/contrib/sitemaps/tests/test_flatpages.py diff --git a/django/contrib/sitemaps/tests/generic.py b/django/contrib/sitemaps/tests/test_generic.py similarity index 100% rename from django/contrib/sitemaps/tests/generic.py rename to django/contrib/sitemaps/tests/test_generic.py diff --git a/django/contrib/sitemaps/tests/http.py b/django/contrib/sitemaps/tests/test_http.py similarity index 100% rename from django/contrib/sitemaps/tests/http.py rename to django/contrib/sitemaps/tests/test_http.py diff --git a/django/contrib/sitemaps/tests/https.py b/django/contrib/sitemaps/tests/test_https.py similarity index 100% rename from django/contrib/sitemaps/tests/https.py rename to django/contrib/sitemaps/tests/test_https.py