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

Unified Diff: chrome/test/pyautolib/chromeos/chromeos_utils.py

Issue 10836187: [chromeos] pyauto tests should auto login by default on chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « chrome/test/functional/netflix.py ('k') | chrome/test/pyautolib/policy_base.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/chromeos/chromeos_utils.py
diff --git a/chrome/test/pyautolib/chromeos/chromeos_utils.py b/chrome/test/pyautolib/chromeos/chromeos_utils.py
index 3cbcb8e39635fa96cc0db97bbc6b3deb045ecc67..a3780717fe404ce7b3c7df3a4cb2cc7add6ec520 100755
--- a/chrome/test/pyautolib/chromeos/chromeos_utils.py
+++ b/chrome/test/pyautolib/chromeos/chromeos_utils.py
@@ -28,15 +28,8 @@ class ChromeosUtils(pyauto.PyUITest):
python chromeos_utils.py \
chromeos_utils.ChromeosUtils.LoginToDefaultAccount
"""
- if self.GetLoginInfo()['is_logged_in']:
- logging.info('Already logged in as %s.' % self.GetLoginInfo()['email'])
- return
- creds = constants.CREDENTIALS['$default']
- username = creds[0]
- passwd = creds[1]
- self.Login(username, passwd)
- assert self.GetLoginInfo()['is_logged_in']
- logging.info('Logged in as %s.' % username)
+ # Should auto-login. Nothing to do here.
dennis_jeffrey 2012/08/13 16:37:35 should we add a TODO to remove this function (and
+ pass
if __name__ == '__main__':
« no previous file with comments | « chrome/test/functional/netflix.py ('k') | chrome/test/pyautolib/policy_base.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698