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

Unified Diff: client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.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 9 years, 12 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
Index: client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
diff --git a/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py b/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
index 06a16f4ffa2a25019af84e2005f8ca2590265fe6..7e3df464b21248fa2c783e14b48644d71bbc68bf 100644
--- a/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
+++ b/client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py
@@ -5,7 +5,7 @@
import logging, os, stat, time, 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 login, httpd, ui, ui_test
+from autotest_lib.client.cros import cros_ui_test, login, httpd, ui
def respond_with_cookies(handler, url_args):
"""Responds with a Set-Cookie header to any GET request, and redirects
@@ -19,7 +19,7 @@ def respond_with_cookies(handler, url_args):
handler.wfile.write('%s:\n' % url_args)
-class login_ChromeProfileSanitary(ui_test.UITest):
+class login_ChromeProfileSanitary(cros_ui_test.UITest):
version = 1
def __wait_for_login_profile(self, timeout=10):
@@ -41,12 +41,12 @@ class login_ChromeProfileSanitary(ui_test.UITest):
self._testServer.add_url_handler('/set_cookie', respond_with_cookies)
self._testServer.run()
- ui_test.UITest.initialize(self, creds)
+ cros_ui_test.UITest.initialize(self, creds)
def cleanup(self):
self._testServer.stop()
- ui_test.UITest.cleanup(self)
+ cros_ui_test.UITest.cleanup(self)
def run_once(self, timeout = 10):

Powered by Google App Engine
This is Rietveld 408576698