class WidgetTestCase(unittest.TestCase): def setUp(self): self.widget = Widget() def tearDown(self): self.widget.dispose() self.widget = None def testDefaultSize(self): pass def testResize(self): pass
def setUp(self): self.widget = Widget()