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

Unified Diff: build/android/pylib/base/test_dispatcher_unittest.py

Issue 132463007: Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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
Index: build/android/pylib/base/test_dispatcher_unittest.py
diff --git a/build/android/pylib/base/test_dispatcher_unittest.py b/build/android/pylib/base/test_dispatcher_unittest.py
index c6078dbdfcfca6f0bb433067139f8158cd181920..fc01bc4b7c2a25741ae5305d807a1dd1c83bea79 100644
--- a/build/android/pylib/base/test_dispatcher_unittest.py
+++ b/build/android/pylib/base/test_dispatcher_unittest.py
@@ -17,8 +17,8 @@ android_commands.GetAttachedDevices = lambda: ['0', '1']
from pylib import constants
from pylib.utils import watchdog_timer
-import base_test_result
-import test_dispatcher
+from . import base_test_result
+from . import test_dispatcher
class TestException(Exception):
@@ -191,7 +191,7 @@ class TestShard(unittest.TestCase):
android_commands.GetAttachedDevices = lambda: []
try:
with self.assertRaises(AssertionError):
- results, exit_code = TestShard._RunShard(MockRunner)
+ _results, _exit_code = TestShard._RunShard(MockRunner)
finally:
android_commands.GetAttachedDevices = attached_devices

Powered by Google App Engine
This is Rietveld 408576698