There was some recent work done on allowing customizing the ping_google sitemap URL, but it wasn't completed: https://github.com/django/django/pull/3528
You could take inspiration from your tests from there. On Wednesday, April 22, 2015 at 10:21:44 AM UTC-4, ST LEON wrote: > > I want to contribute one new feature to Django (doing this first time). > > I reading this <https://docs.djangoproject.com/en/dev/intro/contributing/> > and > have one question. > > First, write tests. I want to improve work of ping_google() > <https://github.com/django/django/blob/master/django/contrib/sitemaps/__init__.py#L17> > and > add some new behavior. > > But I can't find any tests that cover this function. > > I think, that it might be here > <https://github.com/django/django/tree/master/tests/sitemaps_tests>, but > I can't find tests for *ping_google()*. > > So, what should I do? That test needs me to see, how they works, change > some of them and write new ones. > > My changes aren't be so serious: just a very simple 2-3 new lines. > > Please, help. > > Thanks! > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1de315e4-2252-4c1b-b805-0da2f98a0c71%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.