| Index: build/android/pylib/device/device_utils_test.py
|
| diff --git a/build/android/pylib/device/device_utils_test.py b/build/android/pylib/device/device_utils_test.py
|
| index 1fb973bd212f6dcf1ce8cb9c441f1cb09fe4155f..2ba3f7276102a31c77b8b5f4c730c3d20c14effc 100755
|
| --- a/build/android/pylib/device/device_utils_test.py
|
| +++ b/build/android/pylib/device/device_utils_test.py
|
| @@ -215,9 +215,14 @@ class DeviceUtilsOldImplTest(unittest.TestCase):
|
| return type(self).AndroidCommandsCalls(self, cmd_ret, comp)
|
|
|
| def setUp(self):
|
| + self._get_adb_path_patch = mock.patch('pylib.constants.GetAdbPath',
|
| + mock.Mock(return_value='adb'))
|
| + self._get_adb_path_patch.start()
|
| self.device = device_utils.DeviceUtils(
|
| '0123456789abcdef', default_timeout=1, default_retries=0)
|
|
|
| + def tearDown(self):
|
| + self._get_adb_path_patch.stop()
|
|
|
| class DeviceUtilsNewImplTest(mock_calls.TestCase):
|
|
|
|
|