Changes between Initial Version and Version 1 of Ticket #18417, comment 5
- Timestamp:
- Oct 26, 2012, 11:42:39 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18417, comment 5
initial v1 1 The attached patch raises an exception if the decorated class is not a subclass of SimpleTestCase. Note that currently this works only for TransactionTestCase, but the current documentation tells that SimpleTestCasecan be decorated by override_settings (and I also think it should) (https://docs.djangoproject.com/en/dev/topics/testing/#django.test.SimpleTestCase).1 The attached patch raises an exception if the decorated class is not a subclass of `SimpleTestCase`. Note that currently this works only for `TransactionTestCase`, but the current documentation tells that `SimpleTestCase` can be decorated by override_settings (and I also think it should) (https://docs.djangoproject.com/en/dev/topics/testing/#django.test.SimpleTestCase).