class BaseTestSuite(unittest.TestSuite):
    xmlfile = None

def addTest(self, test):
    if isinstance(test, BaseTestCase):
        test.xmlfile = self.xmlfile
super(BaseTestSuite, self).addTest(test)
python unittest multiple mixins