def test_creator(self): mc = self.mc self.assertIs(multicall._multicall_dict[Text], mc) self.assertTrue(issubclass(mc, Text)) mc2 = multicall.MultiCallCreator(Text) self.assertIs(mc, mc2)
def setUpClass(cls): requires('gui') cls.root = Tk() cls.root.withdraw() cls.mc = multicall.MultiCallCreator(Text)