#11077: Django's built-in tests fail when using url reverse tags in default
registration templates
---------------------------------------------+------------------------------
          Reporter:  srosro                  |         Owner:  nobody
            Status:  reopened                |     Milestone:        
         Component:  Testing framework       |       Version:        
        Resolution:                          |      Keywords:        
             Stage:  Design decision needed  |     Has_patch:  1     
        Needs_docs:  0                       |   Needs_tests:  0     
Needs_better_patch:  1                       |  
---------------------------------------------+------------------------------
Comment (by berto):

 +1

 I sat down to write some tests on a new application and there's nothing
 more discouraging than to start with failure.  The suggestion by Adam V in
 the django-dev thread was super quick and easy to avoid the problem ...
 only test your own apps ![1]!

 I've peared down the suggestion down to creating a MY_APPS tuple
 containing only my apps and running the tests with:

 {{{
 ./manage.py test $(python -c "import settings; print '
 '.join(settings.MY_APPS)")
 }}}

 ![1] http://groups.google.com/group/django-
 developers/browse_thread/thread/c7eb9930591e3a38#msg_36dbc5a388c5fdb2

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11077#comment:15>
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-upda...@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