'Importing twisted.__main__ does not execute twist.'

def test_twisted_import(self):

    output = StringIO()
    monkey = self.patch(sys, 'stdout', output)
    import twisted.__main__
    self.assertTrue(twisted.__main__)
    monkey.restore()
    self.assertEqual(output.getvalue(), '')
