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

Side by Side Diff: chrome/test/pyautolib/chromeos/chromeos_utils.py

Issue 8680018: Fix python scripts in src/chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import logging 6 import logging
7 import os 7 import os
8 import sys 8 import sys
9 9
10 10
11 def _SetupPaths(): 11 def _SetupPaths():
(...skipping 22 matching lines...) Expand all
34 creds = constants.CREDENTIALS['$default'] 34 creds = constants.CREDENTIALS['$default']
35 username = creds[0] 35 username = creds[0]
36 passwd = creds[1] 36 passwd = creds[1]
37 self.Login(username, passwd) 37 self.Login(username, passwd)
38 assert self.GetLoginInfo()['is_logged_in'] 38 assert self.GetLoginInfo()['is_logged_in']
39 logging.info('Logged in as %s.' % username) 39 logging.info('Logged in as %s.' % username)
40 40
41 41
42 if __name__ == '__main__': 42 if __name__ == '__main__':
43 pyauto.Main() 43 pyauto.Main()
OLDNEW
« no previous file with comments | « chrome/test/pyautolib/chrome_driver_factory.py ('k') | chrome/test/pyautolib/chromeos/enable_testing.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698