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 1796fbe2186a6cd83edfa4806dddb7c93f723682..42dc5b2ccbcea5f9790cfa715e64a0ee576003bd 100755 |
--- a/build/android/pylib/device/device_utils_test.py |
+++ b/build/android/pylib/device/device_utils_test.py |
@@ -1312,7 +1312,7 @@ class DeviceUtilsSetJavaAssertsTest(DeviceUtilsOldImplTest): |
('adb -s 0123456789abcdef shell ' |
'setprop dalvik.vm.enableassertions "all"', |
'')]): |
- self.device.SetJavaAsserts(True) |
+ self.assertTrue(self.device.SetJavaAsserts(True)) |
def testSetJavaAsserts_disable(self): |
mock_file = self.mockNamedTemporary( |
@@ -1336,7 +1336,7 @@ class DeviceUtilsSetJavaAssertsTest(DeviceUtilsOldImplTest): |
('adb -s 0123456789abcdef shell ' |
'setprop dalvik.vm.enableassertions ""', |
'')]): |
- self.device.SetJavaAsserts(False) |
+ self.assertTrue(self.device.SetJavaAsserts(False)) |
def testSetJavaAsserts_alreadyEnabled(self): |
mock_file = self.mockNamedTemporary( |