#16224: override_settings does not work on a TestCase class
---------------------+-----------------------------------
Reporter: brocaar | Owner: nobody
Type: Bug | Status: new
Milestone: 1.4 | Component: Testing framework
Version: SVN | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------+-----------------------------------
The override_settings decorator
(https://docs.djangoproject.com/en/dev/topics/testing/#django.test.utils.override_settings)
does not work when decorating a TestCase class. The problem is that after
decorating the TestCase class, the testrunner does not detect the class as
a TestCase class anymore, so the tests within the class are not executed.
--
Ticket URL: <https://code.djangoproject.com/ticket/16224>
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 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.