#15828: multiple inheritance in TestCases does not work with unittest2 ----------------------------+---------------------------------- Reporter: ricardokirkner | Owner: nobody Type: Bug | Status: new Milestone: | Component: Testing framework Version: 1.3 | Severity: Normal Keywords: unittest2 | Triage Stage: Unreviewed Has patch: 0 | ----------------------------+---------------------------------- Using multiple base testcases used to work in django 1.1 but stopped working in django 1.3, due to the introduction of unittest2.
In django.utils.unittest you can see that TestClass.setUp doesn't call super. This breaks the mro chain call, preventing further bases classes from getting initialized. A bug has been filed about this on unittest2: https://code.google.com/p /unittest-ext/issues/detail?id=61 -- Ticket URL: <http://code.djangoproject.com/ticket/15828> 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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.