Opened 11 years ago

Last modified 11 years ago

#21307 closed Bug

humanize tests depend on a test case mixin defined on tests/i18n/__init__.py — at Initial Version

Reported by: Ramiro Morales Owned by: nobody
Component: Testing framework Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top