'Check that C{test_suite} is used when present and other L{TestCase}s are
not included.'

def test_loadModuleWith_test_suite(self):

    from twisted.trial.test import mockcustomsuite
    suite = self.loader.loadModule(mockcustomsuite)
    self.assertEqual(0, suite.countTestCases())
    self.assertEqual('MyCustomSuite', getattr(suite, 'name', None))
