#26677: Run i18n tests on disposable FS tree instead of source code
-------------------------------------+-------------------------------------
     Reporter:  Ramiro Morales       |                    Owner:  Ramiro
         Type:                       |  Morales
  Cleanup/optimization               |                   Status:  closed
    Component:                       |                  Version:  master
  Internationalization               |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  tests isolation      |             Triage Stage:  Ready for
  i18n serializemixin unit unittest  |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"c1bd4679e896301dd26f0bb51d905a194eb358b7" c1bd4679]:
 {{{
 #!CommitTicketReference repository=""
 revision="c1bd4679e896301dd26f0bb51d905a194eb358b7"
 [1.10.x] Fixed #26677 -- Converted some i18n tests to use disposable FS
 tree.

 This allows makemessages/compilemessages tests in `test_extraction.py`
 and `test_compilation.py` to actually run isolated from each other
 (unaffected by stray FS objects left by cleanup actions failures, debug
 sessions, etc.) and to take advantage of the parallel tests execution
 feature like most of the Django test suite.

 `test_percents.py` gets slightly refactored to not inherit from the new
 machinery which sets up every test case to copy and run under a
 temporary tree.

 Backport of faeeb84edfebecf5a5f40df9ef816e5f1cd457c6 from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26677#comment:12>
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/064.85d567a5a656b946459610d314f73f7b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to