| 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')
|
|
|