def test_style(self):
     """Make sure the style method returns correct result"""
     self.assertEquals(0x14cf0000, style(self.dlghandle))
     # will be 0x50300104 if wordwrap is on and 0x50200104 if off
     self.assertTrue(
         (0x50200104, 0x50300104).__contains__,
         style(self.edit_handle),)
Пример #2
0
 def test_style(self):
     "Make sure the style method returns correct result"
     self.assertEquals(0x14cf0000, style(self.dlghandle))
     # will be 0x50300104 if wordwrap is on and 0x50200104 if off
     self.assertTrue(
         (0x50200104, 0x50300104).__contains__,
         style(self.edit_handle),)