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 = 'one' pin = 'z' target = VibrationMotor(name, pin) #TODO target.outputPin.z = MagicMock() target.outputPin.z.__name__ = pin self.assertEqual(name, target.Name)
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. """ self.Target = VibrationMotor('two', 'e')