def test_whenSetRobotOrientationThenWheelManagerChangesOrientation(self): testedBotDispatcher = BotDispatcher(self.wheelManager, self.maestro) testedBotDispatcher.setRobotOrientation(90, 180) assert self.wheelManager.setOrientation.called
def test_whenFollowPathThenWheelManagerCallsMoveTo(self): testedBotDispatcher = BotDispatcher(self.wheelManager, self.maestro) testedBotDispatcher.followPath(self.RANDOM_COORDINATE) assert self.wheelManager.moveTo.called