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

Unified Diff: devil/devil/android/tools/system_app_test.py

Issue 2967603003: [devil] Fix bug in devil.android.tools.system_app_test (Closed)
Patch Set: nit Created 3 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: devil/devil/android/tools/system_app_test.py
diff --git a/devil/devil/android/tools/system_app_test.py b/devil/devil/android/tools/system_app_test.py
index c20f9a88ca57d94c5a39147c30e431ec41877a6d..f72aa166383d481c6103f4761816a7c123b14e5f 100644
--- a/devil/devil/android/tools/system_app_test.py
+++ b/devil/devil/android/tools/system_app_test.py
@@ -14,6 +14,7 @@ if __name__ == '__main__':
from devil import devil_env
from devil.android import device_utils
from devil.android.sdk import adb_wrapper
+from devil.android.sdk import version_codes
from devil.android.tools import system_app
with devil_env.SysPath(devil_env.PYMOCK_PATH):
@@ -31,6 +32,8 @@ class SystemAppTest(unittest.TestCase):
# pylint: disable=no-self-use,protected-access
mock_device = mock.Mock(spec=device_utils.DeviceUtils)
mock_device.adb = mock.Mock(spec=adb_wrapper.AdbWrapper)
+ type(mock_device).build_version_sdk = mock.PropertyMock(
+ return_value=version_codes.LOLLIPOP)
system_props = {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698