#13345: eorro message when runing test suite after [12950]
-------------------------------+--------------------------------------------
 Reporter:  ramiro             |       Owner:  nobody    
   Status:  new                |   Milestone:  1.2       
Component:  Testing framework  |     Version:  SVN       
 Keywords:                     |       Stage:  Unreviewed
Has_patch:  1                  |  
-------------------------------+--------------------------------------------
 The django test suite has, besides all the regression tests, a
 `tests/regressiontests/locale` data directory used in tests that exercise
 the ability to override apps translations with project translations (this
 was added for 1.2).

 When running the site, the app loader generates a non-fatal error after
 r12950 similar to the one if generates when if finds leftover dirs in a
 SVN WC containing `.pyc` after test shuffling in the repo:

 {{{
 Error while importing locale:  File "./runtests.py", line 135, in
 django_tests
     mod = load_app(model_label)
   File "/home/r/django/trunk/django/db/models/loading.py", line 75, in
 load_app
     app_module = import_module(app_name)
   File "/home/r/django/trunk/django/utils/importlib.py", line 35, in
 import_module
     __import__(name)
 ImportError: No module named locale
 }}}

 This can also be seen in the buildbot output.

 The patch fixes this my simply skipping the directory when looping over
 the `regressiontests/` dir.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13345>
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