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 6b8082dec782fe28186cde7f27bad8a3f632cfcc..16699adba1b6e39a531ef4454e70f45ec8639676 100755 |
--- a/build/android/pylib/device/device_utils_test.py |
+++ b/build/android/pylib/device/device_utils_test.py |
@@ -82,22 +82,6 @@ |
' Skin: WVGA800\n'): |
self.assertEquals(['my_android5.0'], |
device_utils.GetAVDs()) |
- |
- |
-class DeviceUtilsRestartServerTest(mock_calls.TestCase): |
- |
- @mock.patch('time.sleep', mock.Mock()) |
- def testRestartServer_succeeds(self): |
- with self.assertCalls( |
- mock.call.pylib.device.adb_wrapper.AdbWrapper.KillServer(), |
- (mock.call.pylib.cmd_helper.GetCmdStatusAndOutput(['pgrep', 'adb']), |
- (1, '')), |
- mock.call.pylib.device.adb_wrapper.AdbWrapper.StartServer(), |
- (mock.call.pylib.cmd_helper.GetCmdStatusAndOutput(['pgrep', 'adb']), |
- (1, '')), |
- (mock.call.pylib.cmd_helper.GetCmdStatusAndOutput(['pgrep', 'adb']), |
- (0, '123\n'))): |
- device_utils.RestartServer() |
class MockTempFile(object): |