Lines Matching refs:self
41 def test_init_sets_tktype(self):
44 with self.subTest(platform=platform):
48 self.assertIn(macosx._tk_type, types)
60 def test_is_calls_init(self, mockinit):
63 for func, whentrue in self.isfuncs:
64 with self.subTest(func=func):
66 self.assertTrue(mockinit.called)
69 def test_isfuncs(self):
71 for func, whentrue in self.isfuncs:
73 with self.subTest(func=func, whentrue=whentrue, tktype=tktype):
75 (self.assertTrue if tktype in whentrue else self.assertFalse)\
99 def test_setupapp(self, overrideRootMenu):
101 root = self.root
104 with self.subTest(tktype=tktype):
108 self.assertTrue(overrideRootMenu.called)