def test_foo(self):
    if getattr(self, 'do_not_run', False):
        return


class OneTestCase(SharedTest):

    def setUp(self):
        super(OneTestCase, self).setUp()
self.do_not_run = False
How can I add a test method to a group of Django TestCase-derived classes?