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

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

Issue 5740004: Move site_chrome_test, site_logging, site_log_reader, site_crash_test into cros dir. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 10 years 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/login_DBusCalls/login_DBusCalls.py
diff --git a/client/site_tests/login_DBusCalls/login_DBusCalls.py b/client/site_tests/login_DBusCalls/login_DBusCalls.py
index d516be3f888c78b3b3ee30809616e9d4bef82cf3..7c5f1ec7d497dcae40b27832ea8857e3d11179e9 100644
--- a/client/site_tests/login_DBusCalls/login_DBusCalls.py
+++ b/client/site_tests/login_DBusCalls/login_DBusCalls.py
@@ -3,11 +3,10 @@
# found in the LICENSE file.
import logging, os
-from autotest_lib.client.bin import site_log_reader
from autotest_lib.client.bin import utils
-from autotest_lib.client.common_lib import error, utils
+from autotest_lib.client.common_lib import error
from autotest_lib.client.cros import constants as chromeos_constants
-from autotest_lib.client.cros import ui_test
+from autotest_lib.client.cros import log_reader, ui_test
_SESSION_MANAGER_DEST='org.chromium.SessionManager'
_SESSION_MANAGER_OBJECT='org.chromium.SessionManagerInterface'
@@ -35,9 +34,9 @@ class login_DBusCalls(ui_test.UITest):
def _test_restart_entd(self):
"""Test the RestartEntd method."""
- message_log = site_log_reader.LogReader()
+ message_log = log_reader.LogReader()
message_log.set_start_by_current()
- ui_log = site_log_reader.LogReader(chromeos_constants.UI_LOG)
+ ui_log = log_reader.LogReader(chromeos_constants.UI_LOG)
ui_log.set_start_by_current()
# Make sure we can call RestartEntd from user chronos.
self._call_session_manager_method('RestartEntd')

Powered by Google App Engine
This is Rietveld 408576698