示例#1
0
 def test_init(self):
     obj = nonza.SMResume(counter=1, previd="foobar")
     self.assertEqual(1, obj.counter)
     self.assertEqual("foobar", obj.previd)
示例#2
0
 def test_default_init_not_possible(self):
     with self.assertRaises(TypeError):
         nonza.SMResume()