my bad here, another stupid typo. it should be "result =" ; not "return =" am: 9569fd87d8
am: fd375d94a8
Change-Id: Ief15ed97af270bb04c77c0d495aeb874814165d7
diff --git a/acts/tests/google/ble/power/BleScanPowerTest.py b/acts/tests/google/ble/power/BleScanPowerTest.py
index fd89fba..7e17a0f 100644
--- a/acts/tests/google/ble/power/BleScanPowerTest.py
+++ b/acts/tests/google/ble/power/BleScanPowerTest.py
@@ -105,7 +105,7 @@
# Start the power measurement
sample_time = (scan_time + idle_time) * repetitions
- return = self.mon.measure_power(self.POWER_SAMPLING_RATE, sample_time,
+ result = self.mon.measure_power(self.POWER_SAMPLING_RATE, sample_time,
self.current_test_name, self.SCAN_START_TIME)
self.ad.log.info("Monsoon start_time: {}".format(result.timestamps[0]))
diff --git a/acts/tests/google/ble/power/GattPowerTest.py b/acts/tests/google/ble/power/GattPowerTest.py
index ed70e49..0c95df3 100644
--- a/acts/tests/google/ble/power/GattPowerTest.py
+++ b/acts/tests/google/ble/power/GattPowerTest.py
@@ -116,7 +116,7 @@
sample_time = (write_time + idle_time) * repetitions
# Start the power measurement
- return = self.mon.measure_power(self.POWER_SAMPLING_RATE, sample_time,
+ result = self.mon.measure_power(self.POWER_SAMPLING_RATE, sample_time,
self.current_test_name, self.START_TIME)
# Calculate average and save power data into a file