示例#1
0
 def test_fail_set_strike(self):
     styleobj = Style()
     with self.assertRaises(TypeError):
         styleobj.strike = 1
示例#2
0
 def test_set_strike(self):
     styleobj = Style()
     styleobj.strike = True
     self.assertTrue(styleobj.strike)