Index: client/site_tests/power_ARMSettings/power_ARMSettings.py |
diff --git a/client/site_tests/power_ARMSettings/power_ARMSettings.py b/client/site_tests/power_ARMSettings/power_ARMSettings.py |
index 0e3ccdd2582a842932589360a01c19b32d37e123..c49fb66e1d4500617bb56efeb703a2fdee1984f6 100644 |
--- a/client/site_tests/power_ARMSettings/power_ARMSettings.py |
+++ b/client/site_tests/power_ARMSettings/power_ARMSettings.py |
@@ -3,8 +3,9 @@ |
# found in the LICENSE file. |
import glob, logging, os, re |
-from autotest_lib.client.bin import test |
-from autotest_lib.client.common_lib import error, site_power_status, utils |
+from autotest_lib.client.bin import test, utils |
+from autotest_lib.client.common_lib import error |
+from autotest_lib.client.cros import power_status |
class power_ARMSettings(test.test): |
version = 1 |
@@ -13,8 +14,8 @@ class power_ARMSettings(test.test): |
if not self._check_cpu_type(): |
raise error.TestNAError('Unsupported CPU') |
- power_status = site_power_status.get_status() |
- if power_status.linepower[0].online: |
+ status = power_status.get_status() |
+ if status.linepower[0].online: |
logging.info('AC Power is online') |
self._on_ac = True |
else: |