def test_init(self): obj = nonza.SMEnable(resume=True, max_=123) self.assertTrue(obj.resume) self.assertEqual( obj.max_, 123, )
def test_default_init(self): obj = nonza.SMEnable() self.assertFalse(obj.resume) self.assertIsNone(obj.max_)
def test_init(self): obj = nonza.SMEnable(resume=True) self.assertTrue(obj.resume)