def test_init(self): """TODO strictly one-line summary TODO Detailed multi-line description if necessary. Args: arg1 (type1): TODO describe arg, valid values, etc. arg2 (type2): TODO describe arg, valid values, etc. arg3 (type3): TODO describe arg, valid values, etc. Returns: TODO describe the return type and details Raises: TodoError1: if TODO. TodoError2: if TODO. """ name = 'four' config = Mock() config.OutputPin = 'e' target = Led(name, config) self.assertEqual(name, target.Name) self.assertEqual(0.5, target.FlashingOnDuration_s) self.assertEqual(0.5, target.FlashingOffDuration_s)
def setUp(self): """TODO strictly one-line summary TODO Detailed multi-line description if necessary. Args: arg1 (type1): TODO describe arg, valid values, etc. arg2 (type2): TODO describe arg, valid values, etc. arg3 (type3): TODO describe arg, valid values, etc. Returns: TODO describe the return type and details Raises: TodoError1: if TODO. TodoError2: if TODO. """ config = Mock() config.OutputPin = 'e' self.Target = Led('three', config)