Writing some tests for new feature

18 views
Skip to first unread message

ST LEON

unread,
Apr 22, 2015, 10:21:44 AM4/22/15
to django...@googlegroups.com
I want to contribute one new feature to Django (doing this first time).

I reading this and have one question.

First, write tests. I want to improve work of ping_google() and add some new behavior. 

But I can't find any tests that cover this function. 

I think, that it might be here, 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!

Avraham Serour

unread,
Apr 22, 2015, 10:25:04 AM4/22/15
to django...@googlegroups.com
you should ask this on the django developers mailing list, this is the django users list

--
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...@googlegroups.com.
To post to this group, send email to django...@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/1a427e10-c658-4382-88f7-75a96961e0b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tim Graham

unread,
Apr 22, 2015, 10:33:28 AM4/22/15
to django...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages