#17194: Auth tests failing on non-US locales
--------------------------------+------------------------------------
     Reporter:  hcarvalhoalves  |                    Owner:  nobody
         Type:  Bug             |                   Status:  new
    Component:  contrib.auth    |                  Version:  SVN
     Severity:  Normal          |               Resolution:
     Keywords:                  |             Triage Stage:  Accepted
    Has patch:  1               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  1               |                    UI/UX:  0
--------------------------------+------------------------------------
Changes (by claudep):

 * has_patch:  0 => 1


Comment:

 Here's my proposal to fix it. Just setting LANGUAGE_CODE isn't sufficient
 to change current language, that's why I changed override_settings to
 special-case LANGUAGE_CODE setting change. Might be useful in other tests,
 too.

 The other solution would be to enclose each string comparison test with
 translation.override, but it seems not very DRY to me.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17194#comment:2>
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 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