| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import time | 5 import time |
| 6 from autotest_lib.client.common_lib import error | 6 from autotest_lib.client.common_lib import error |
| 7 from autotest_lib.client.cros import login, ui_test | 7 from autotest_lib.client.cros import cros_ui_test, login |
| 8 | 8 |
| 9 class login_RemoteLogin(ui_test.UITest): | 9 class login_RemoteLogin(cros_ui_test.UITest): |
| 10 version = 1 | 10 version = 1 |
| 11 | 11 |
| 12 | 12 |
| 13 def initialize(self, creds = '$default'): |
| 14 cros_ui_test.UITest.initialize(self, creds) |
| 15 |
| 16 |
| 13 def start_authserver(self): | 17 def start_authserver(self): |
| 14 pass | 18 pass |
| 15 | 19 |
| 16 | 20 |
| 17 def ensure_login_complete(self): | 21 def ensure_login_complete(self): |
| 18 if not login.logged_in(): | 22 if not login.logged_in(): |
| 19 raise error.TestFail("Did not log in.") | 23 raise error.TestFail("Did not log in.") |
| 20 | 24 |
| 21 | 25 |
| 22 def run_once(self): | 26 def run_once(self): |
| 23 pass | 27 pass |
| 24 | 28 |
| 25 | 29 |
| 26 def stop_authserver(self): | 30 def stop_authserver(self): |
| 27 pass | 31 pass |
| OLD | NEW |