#2713: Sitemap Index with Cache gives a NoReverseMatch exception
-----------------------------------+----------------------------------------
          Reporter:  JayKlehr      |         Owner:  stavros
            Status:  new           |     Milestone:         
         Component:  Contrib apps  |       Version:  SVN    
        Resolution:                |      Keywords:         
             Stage:  Accepted      |     Has_patch:  1      
        Needs_docs:  0             |   Needs_tests:  1      
Needs_better_patch:  0             |  
-----------------------------------+----------------------------------------
Comment (by SmileyChris):

 Replying to [comment:12 stavros]:
 > Any idea where the regression tests should go?

 Answering the initial question (Russ must have missed this after the
 second question threw him into a rage :)), put them in the contrib app
 itself. I'd suggest
 {{{
 /django/contrib/sitemaps/tests/__init__.py   <- put the test here
 /django/contrib/sitemaps/tests/urls.py       <- your unit test will need a
 custom urlconf
 }}}

 At the bare minimum, just write some tests to prove the new behaviour
 works. But feel free to add additional tests of base sitemap functionality
 for extra brownie points.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2713#comment:14>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to