#21307: humanize tests depend on a test case mixin defined on
tests/i18n/__init__.py
-----------------------------------+--------------------------------------
     Reporter:  ramiro             |                    Owner:  nobody
         Type:  Bug                |                   Status:  new
    Component:  Testing framework  |                  Version:  master
     Severity:  Normal             |               Resolution:
     Keywords:                     |             Triage Stage:  Unreviewed
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------
Description changed by ramiro:

Old description:

> As reported in django-users (https://groups.google.com/d/topic/django-
> users/u1sycmDbO9c/discussion):
>
> 1. Having 'django.contrib.humanize' listed in INSTALLED_APPS
> 2. Using TEST_RUNNER=
> 3. Trying to run the tests using `manage.py test`
>
> Reported against 1.6b4 but an be reproduced with current 1.6.x and
> master.
>
> Result of discussion on IRC resulted a suggested fix: Move the
> `TransRealMixin` added in 9a1ea4e7e8214a001ca43ae6f0fcea96a5d51489 to a
> place under the django hierarchy, i.e. `django.test.utils` that would
> allow it to be imported using an absolute import.

New description:

 As reported in django-users (https://groups.google.com/d/topic/django-
 users/u1sycmDbO9c/discussion):

 1. Having 'django.contrib.humanize' listed in INSTALLED_APPS
 2. Using TEST_RUNNER='django.test.simple.DjangoTestSuiteRunner'
 3. Trying to run the tests using `manage.py test`

 Reported against 1.6b4 but an be reproduced with current 1.6.x and master.

 Result of discussion on IRC resulted a suggested fix: Move the
 `TransRealMixin` added in 9a1ea4e7e8214a001ca43ae6f0fcea96a5d51489 to a
 place under the django hierarchy, i.e. `django.test.utils` that would
 allow it to be imported using an absolute import.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21307#comment:1>
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.af6f8b122b11162554a5c462609e9e57%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to