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

Unified Diff: client/site_tests/power_BatteryCharge/power_BatteryCharge.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_BatteryCharge/control ('k') | client/site_tests/power_Draw/control » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/power_BatteryCharge/power_BatteryCharge.py
diff --git a/client/site_tests/power_BatteryCharge/power_BatteryCharge.py b/client/site_tests/power_BatteryCharge/power_BatteryCharge.py
index 4435d9bc27b8266c2ac4b17c64bc88c9af6fb79e..a022c90fc6adea894660e18f26d019cf997b83ec 100755
--- a/client/site_tests/power_BatteryCharge/power_BatteryCharge.py
+++ b/client/site_tests/power_BatteryCharge/power_BatteryCharge.py
@@ -4,14 +4,15 @@
import logging, time
from autotest_lib.client.bin import test
-from autotest_lib.client.common_lib import error, site_power_status
+from autotest_lib.client.common_lib import error
+from autotest_lib.client.cros import power_status
class power_BatteryCharge(test.test):
version = 1
def initialize(self):
- self.status = site_power_status.get_status()
+ self.status = power_status.get_status()
if not self.on_ac():
raise error.TestNAError(
« no previous file with comments | « client/site_tests/power_BatteryCharge/control ('k') | client/site_tests/power_Draw/control » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698