class TestTCCLCOActorCtrlWrapper(TestCase): """Test basics of TCCLCOActorCtrlWrapper """ def setUp(self): self.aw = TCCLCOActorWrapper() return self.aw.readyDeferred def tearDown(self): return self.aw.close() def testSetUpTearDown(self): self.assertFalse(self.aw.didFail) self.assertFalse(self.aw.isDone) self.assertTrue(self.aw.isReady)
def setUp(self): self.aw = TCCLCOActorWrapper() return self.aw.readyDeferred