#34180: Document that setting language in tests affects other tests
-------------------------------------+-------------------------------------
     Reporter:  Václav Řehák         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Documentation        |                  Version:  4.1
     Severity:  Normal               |               Resolution:
     Keywords:  documentation i18n   |             Triage Stage:  Accepted
  tests                              |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Václav Řehák):

 To fix this at the moment, we will be adding `translation.deactivate()` to
 the base class of our tests. I wonder if there is any downside of
 including this in Django's TestCase `tearDown`. I'm not fan of keeping the
 current behavior as it can lead to difficult-to-debug random failures of
 tests.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34180#comment:4>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070184ade695b8-567ff3a4-4c41-463e-9419-4464209e1642-000000%40eu-central-1.amazonses.com.

Reply via email to