Changes between Initial Version and Version 1 of Ticket #18417, comment 5


Ignore:
Timestamp:
Oct 26, 2012, 11:42:39 AM (11 years ago)
Author:
Claude Paroz

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 SimpleTestCase can be decorated by override_settings (and I also think it should) (https://docs.djangoproject.com/en/dev/topics/testing/#django.test.SimpleTestCase).
     1The 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).
Back to Top