Merge "Fix typo in scripts" am: cb5b2a062e am: 580f992aae
am: 80aeb72e74
Change-Id: I4dfa13304a00c3db505d2f2c0f7f7153d1c2ff4d
diff --git a/acts/framework/acts/test_utils/wifi/wifi_power_test_utils.py b/acts/framework/acts/test_utils/wifi/wifi_power_test_utils.py
index f709a76..c50913d 100644
--- a/acts/framework/acts/test_utils/wifi/wifi_power_test_utils.py
+++ b/acts/framework/acts/test_utils/wifi/wifi_power_test_utils.py
@@ -233,7 +233,7 @@
# Catch monsoon errors
except monsoon.MonsoonError:
# If captured samples are less than min required, re-take
- if not result or len(result.__data_points) <= min_required_samples:
+ if not result or len(result._data_points) <= min_required_samples:
need_collect_data = 1
log.warning(
'More than {} percent of samples are missing due to monsoon error. Need to take one more measurement'.