Index: tools/telemetry/telemetry/core/platform/power_monitor/android_temperature_monitor_unittest.py |
diff --git a/tools/telemetry/telemetry/core/platform/power_monitor/android_temperature_monitor_unittest.py b/tools/telemetry/telemetry/core/platform/power_monitor/android_temperature_monitor_unittest.py |
index ea283ac432d8b65d74b1e3d2351a9d9888acc472..0ca4d0513984db3641510b21a40404cf9e517f2e 100644 |
--- a/tools/telemetry/telemetry/core/platform/power_monitor/android_temperature_monitor_unittest.py |
+++ b/tools/telemetry/telemetry/core/platform/power_monitor/android_temperature_monitor_unittest.py |
@@ -59,10 +59,8 @@ class AndroidTemperatureMonitorTest(unittest.TestCase): |
def testSysfsReadFailed(self): |
mock_power_monitor = simple_mock.MockObject() |
mock_power_monitor.ExpectCall('CanMonitorPower').WillReturn(False) |
- mock_adb = simple_mock.MockObject() |
mock_device_utils = simple_mock.MockObject() |
mock_device_utils.ExpectCall('ReadFile', _).WillReturn('') |
- setattr(mock_device_utils, 'old_interface', mock_adb) |
monitor = android_temperature_monitor.AndroidTemperatureMonitor( |
mock_power_monitor, mock_device_utils) |