class SharedTestMixin(object):

    def test_common(self):
        self.assertEqual(1, 1)


class TestOne(TestCase, SharedTestMixin):

    def test_something(self):
        pass


class TestTwo(TestCase, SharedTestMixin):
    pass
How can I add a test method to a group of Django TestCase-derived classes?