mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Added tests for contrib.sitemaps.ping_google().
This commit is contained in:
1
tests/sitemaps_tests/urls/empty.py
Normal file
1
tests/sitemaps_tests/urls/empty.py
Normal file
@@ -0,0 +1 @@
|
||||
urlpatterns = []
|
||||
9
tests/sitemaps_tests/urls/index_only.py
Normal file
9
tests/sitemaps_tests/urls/index_only.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.conf.urls import url
|
||||
from django.contrib.sitemaps import views
|
||||
|
||||
from .http import simple_sitemaps
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^simple/index\.xml$', views.index, {'sitemaps': simple_sitemaps},
|
||||
name='django.contrib.sitemaps.views.index'),
|
||||
]
|
||||
Reference in New Issue
Block a user