[autotest] Fix lint error in servo.py
BUG=None
TEST=no more lint errors uploading changes to servo.py!
Change-Id: If9844d03ea082252a2d12a83658c982172a93589
Reviewed-on: https://chromium-review.googlesource.com/383771
Commit-Ready: Kevin Cheng <kevcheng@chromium.org>
Tested-by: Kevin Cheng <kevcheng@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
diff --git a/server/cros/servo/servo.py b/server/cros/servo/servo.py
index 3f12981..2b3f565 100644
--- a/server/cros/servo/servo.py
+++ b/server/cros/servo/servo.py
@@ -275,7 +275,10 @@
time.sleep(Servo.SLEEP_DELAY)
def volume_up(self, timeout=300):
- """Simulate pushing the volume down button"""
+ """Simulate pushing the volume down button.
+
+ @param timeout: Timeout for setting the volume.
+ """
self.set_get_all(['volume_up:yes',
'sleep:%.4f' % self.SERVO_KEY_PRESS_DELAY,
'volume_up:no'])
@@ -290,7 +293,10 @@
raise error.TestFail("Failed setting volume_up to no")
def volume_down(self, timeout=300):
- """Simulate pushing the volume down button"""
+ """Simulate pushing the volume down button.
+
+ @param timeout: Timeout for setting the volume.
+ """
self.set_get_all(['volume_down:yes',
'sleep:%.4f' % self.SERVO_KEY_PRESS_DELAY,
'volume_down:no'])