#10976: missing template files for correctly executing test cases on
django.contrib.auth
----------------------------------------+-----------------------------------
          Reporter:  aarond10           |         Owner:  nobody
            Status:  new                |     Milestone:  1.1   
         Component:  Testing framework  |       Version:  SVN   
        Resolution:                     |      Keywords:        
             Stage:  Unreviewed         |     Has_patch:  0     
        Needs_docs:  0                  |   Needs_tests:  0     
Needs_better_patch:  0                  |  
----------------------------------------+-----------------------------------
Changes (by aarond10):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Sorry, I havent had time to put these in patch format but the changes are
 trivial.

 django/contrib/auth/tests/views.py:
     Remove the setUp() and tearDown() functions in the PasswordResetTest
 class.

 django/contrib/auth/tests/templates/registration/password_reset_form.html
     {{ form }}

 django/contrib/auth/tests/templates/registration/password_reset_email.html
     {{ protocol }}://{{ domain }}/reset/{{ uid }}-{{ token }}/

 django/contrib/auth/tests/templates/registration/password_reset_confirm.html
     {% if validlink %}
         Please enter your new password:
         {{ form }}
     {% else %}
         The password reset link was invalid
     {% endif %}

 django/contrib/auth/tests/templates/registration/password_reset_done.html
 django/contrib/auth/tests/templates/registration/password_reset_complete.html
     Empty file will do fine.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10976#comment:1>
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to