Index: build/android/pylib/device/adb_wrapper_test.py |
diff --git a/build/android/pylib/device/adb_wrapper_test.py b/build/android/pylib/device/adb_wrapper_test.py |
index 08b7fcc99e9bb1b580c1b72736b81db7550800e9..208196afe553da3ed227a5d1669c2735c57039a2 100644 |
--- a/build/android/pylib/device/adb_wrapper_test.py |
+++ b/build/android/pylib/device/adb_wrapper_test.py |
@@ -41,8 +41,8 @@ class TestAdbWrapper(unittest.TestCase): |
self.assertEqual(output.strip(), 'test') |
output = self._adb.Shell('echo test') |
self.assertEqual(output.strip(), 'test') |
- self.assertRaises(device_errors.AdbCommandFailedError, self._adb.Shell, |
- 'echo test', expect_rc=1) |
+ self.assertRaises(device_errors.AdbShellCommandFailedError, |
+ self._adb.Shell, 'echo test', expect_rc=1) |
def testPushPull(self): |
path = self._MakeTempFile('foo') |