Index: tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor_unittest.py |
diff --git a/tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor_unittest.py b/tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor_unittest.py |
index 433797efd9ea5907aebfdfbcceddccbca2375907..bec218965f8b1dceb26b3dfd1ca041cc6d1e9397 100644 |
--- a/tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor_unittest.py |
+++ b/tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor_unittest.py |
@@ -9,10 +9,11 @@ from telemetry.core.platform.power_monitor import monsoon_power_monitor |
class MonsoonPowerMonitorTest(unittest.TestCase): |
+ |
def testEnergyComsumption(self): |
data = { |
- 'duration_s': 3600.0, |
- 'samples': [(1.0,1.0), (2.0,2.0), (3.0,3.0), (4.0,4.0)] |
+ 'duration_s': 3600.0, |
+ 'samples': [(1.0, 1.0), (2.0, 2.0), (3.0, 3.0), (4.0, 4.0)] |
} |
results = monsoon_power_monitor.MonsoonPowerMonitor.ParseSamplingOutput( |
json.dumps(data)) |