Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: client/site_tests/power_Status/power_Status.py

Issue 6627029: Refactor site_power_status, power_strip modules into client/cros. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/site_tests/power_Status/power_Status.py
diff --git a/client/site_tests/power_Status/power_Status.py b/client/site_tests/power_Status/power_Status.py
index d2b6f76c396975154ed83882b3e4629067f681fe..9f7157590f50990495fe6825c20ec982cd3adb27 100755
--- a/client/site_tests/power_Status/power_Status.py
+++ b/client/site_tests/power_Status/power_Status.py
@@ -4,7 +4,7 @@
import logging
from autotest_lib.client.bin import test
-from autotest_lib.client.common_lib import site_power_status
+from autotest_lib.client.cros import power_status
@@ -13,6 +13,6 @@ class power_Status(test.test):
def run_once(self):
- status = site_power_status.get_status()
+ status = power_status.get_status()
logging.info("battery_energy: %f" % status.battery[0].energy)
logging.info("linepower_online: %s" % status.linepower[0].online)
« no previous file with comments | « client/site_tests/power_StatsUSB/power_StatsUSB.py ('k') | client/site_tests/power_x86Settings/power_x86Settings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698