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

Unified Diff: client/site_tests/power_Idle/power_Idle.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/power_Draw.py ('k') | client/site_tests/power_LoadTest/power_LoadTest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/power_Idle/power_Idle.py
diff --git a/client/site_tests/power_Idle/power_Idle.py b/client/site_tests/power_Idle/power_Idle.py
index d6aa688bb0a1e011105f0e583deb739e358c298a..c9396cce3e138e6b87279e666d5b8fbf798a06f7 100755
--- a/client/site_tests/power_Idle/power_Idle.py
+++ b/client/site_tests/power_Idle/power_Idle.py
@@ -3,8 +3,9 @@
# found in the LICENSE file.
import time
-from autotest_lib.client.common_lib import error, site_power_status, utils
-from autotest_lib.client.cros import cros_ui_test
+from autotest_lib.client.bin import utils
+from autotest_lib.client.common_lib import error
+from autotest_lib.client.cros import cros_ui_test, power_status
class power_Idle(cros_ui_test.UITest):
@@ -15,12 +16,12 @@ class power_Idle(cros_ui_test.UITest):
def run_once(self, idle_time=120):
- self.status = site_power_status.get_status()
+ self.status = power_status.get_status()
# initialize various interesting power related stats
- self._usb_stats = site_power_status.USBSuspendStats()
- self._cpufreq_stats = site_power_status.CPUFreqStats()
- self._cpuidle_stats = site_power_status.CPUIdleStats()
+ self._usb_stats = power_status.USBSuspendStats()
+ self._cpufreq_stats = power_status.CPUFreqStats()
+ self._cpuidle_stats = power_status.CPUIdleStats()
time.sleep(idle_time)
« no previous file with comments | « client/site_tests/power_Draw/power_Draw.py ('k') | client/site_tests/power_LoadTest/power_LoadTest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698