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

Unified Diff: client/site_tests/power_Draw/power_Draw.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
« no previous file with comments | « client/site_tests/power_Draw/control ('k') | client/site_tests/power_Idle/power_Idle.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/power_Draw/power_Draw.py
diff --git a/client/site_tests/power_Draw/power_Draw.py b/client/site_tests/power_Draw/power_Draw.py
index ca12f7f281109f71f76f2b0c7e22ced5ee693f70..8c1b9304235d229ec3022c78c958f23899691192 100644
--- a/client/site_tests/power_Draw/power_Draw.py
+++ b/client/site_tests/power_Draw/power_Draw.py
@@ -4,7 +4,7 @@
import logging, time
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
class power_Draw(test.test):
@@ -12,7 +12,7 @@ class power_Draw(test.test):
def run_once(self, seconds=200):
- status = site_power_status.get_status()
+ status = power_status.get_status()
if status.linepower[0].online:
logging.warn('AC power is online -- '
'unable to monitor energy consumption')
« no previous file with comments | « client/site_tests/power_Draw/control ('k') | client/site_tests/power_Idle/power_Idle.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698