Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3241)

Unified Diff: build/android/devil/android/device_utils_device_test.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix appurify_sanitized import-errors Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/devil/android/device_utils.py ('k') | build/android/devil/android/device_utils_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/devil/android/device_utils_device_test.py
diff --git a/build/android/devil/android/device_utils_device_test.py b/build/android/devil/android/device_utils_device_test.py
index 93943345f4c1bdf735c445475fbaf8dc00d666fd..4334a0f48c5c55996f37974bfcbfb144f9278646 100755
--- a/build/android/devil/android/device_utils_device_test.py
+++ b/build/android/devil/android/device_utils_device_test.py
@@ -15,7 +15,6 @@ import unittest
from pylib import constants
from devil.android import device_utils
from devil.android.sdk import adb_wrapper
-from devil.utils import md5sum
from devil.utils import cmd_helper
_OLD_CONTENTS = "foo"
@@ -90,7 +89,7 @@ class DeviceUtilsPushDeleteFilesTest(unittest.TestCase):
self.assertEqual(_OLD_CONTENTS, result)
cmd_helper.RunCmd(['rm', host_file_path])
- self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
+ self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
def testPushChangedFiles_singleFileChange(self):
(host_file_path, file_name) = self._MakeTempFile(_OLD_CONTENTS)
@@ -105,7 +104,7 @@ class DeviceUtilsPushDeleteFilesTest(unittest.TestCase):
self.assertEqual(_NEW_CONTENTS, result)
cmd_helper.RunCmd(['rm', host_file_path])
- self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
+ self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
def testDeleteFiles(self):
host_tmp_dir = tempfile.mkdtemp()
@@ -122,7 +121,7 @@ class DeviceUtilsPushDeleteFilesTest(unittest.TestCase):
self.assertEqual('', result)
cmd_helper.RunCmd(['rm', '-rf', host_tmp_dir])
- self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
+ self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
def testPushAndDeleteFiles_noSubDir(self):
host_tmp_dir = tempfile.mkdtemp()
@@ -148,7 +147,7 @@ class DeviceUtilsPushDeleteFilesTest(unittest.TestCase):
result = self.device.RunShellCommand(['ls', _DEVICE_DIR], single_line=True)
self.assertEqual(file_name1, result)
- self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
+ self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
cmd_helper.RunCmd(['rm', '-rf', host_tmp_dir])
def testPushAndDeleteFiles_SubDir(self):
@@ -204,7 +203,7 @@ class DeviceUtilsPushDeleteFilesTest(unittest.TestCase):
single_line=True)
self.assertEqual('', result)
- self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
+ self.device.RunShellCommand(['rm', '-rf', _DEVICE_DIR])
cmd_helper.RunCmd(['rm', '-rf', host_tmp_dir])
def testRestartAdbd(self):
« no previous file with comments | « build/android/devil/android/device_utils.py ('k') | build/android/devil/android/device_utils_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698