FAFT: Fix Docstring and lint errors
BUG=chrome-os-partner:21118
TEST=utils/run_pylint.py [affected files]
Change-Id: I0539dda2dc87e94eceddf5cc7452a8606bd0a598
Reviewed-on: https://gerrit.chromium.org/gerrit/62643
Commit-Queue: Tom Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Tested-by: Tom Wai-Hong Tam <waihong@chromium.org>
diff --git a/server/cros/servo_test.py b/server/cros/servo_test.py
index 72bd8c4..da73cb1 100644
--- a/server/cros/servo_test.py
+++ b/server/cros/servo_test.py
@@ -51,9 +51,8 @@
def _ping_test(self, hostname, timeout=5):
"""Verify whether a host responds to a ping.
- Args:
- hostname: Hostname to ping.
- timeout: Time in seconds to wait for a response.
+ @param hostname: Hostname to ping.
+ @param timeout: Time in seconds to wait for a response.
"""
with open(os.devnull, 'w') as fnull:
return subprocess.call(
@@ -63,9 +62,8 @@
def _sshd_test(self, hostname, timeout=5):
"""Verify whether sshd is running in host.
- Args:
- hostname: Hostname to verify.
- timeout: Time in seconds to wait for a response.
+ @param hostname: Hostname to verify.
+ @param timeout: Time in seconds to wait for a response.
"""
try:
sock = socket.create_connection((hostname, 22), timeout=timeout)