#20917: Change the password hashers when testing
-------------------------------------+-------------------------------------
     Reporter:  mjtamlyn             |                    Owner:
         Type:  New feature          |  ashchristopher
    Component:  Testing framework    |                   Status:  assigned
     Severity:  Normal               |                  Version:  master
     Keywords:                       |               Resolution:
    Has patch:  0                    |             Triage Stage:  Accepted
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by ashchristopher):

 If people have overridden the `PASSWORD_HASHER` with their own custom
 hasher, or if they have updated the `PASSWORD_HASHER` in say a
 test_settings.py file (which is how we solved this) then having an opinion
 on the password hasher in tests would break their tests.

 I know that our test suite would break if we defaulted to a specific
 hasher in tests (though this is basically a data point of 1).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20917#comment:6>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.7e9a7cf5c64da5e76b3be08710f1fa3a%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to