예제 #1
0
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
예제 #2
0
 def setUp(self):
     self.widget = Widget()