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

Side by Side Diff: chrome/test/pyautolib/pyauto_paths.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
« no previous file with comments | « chrome/test/pyautolib/pyauto_errors.py ('k') | chrome/test/pyautolib/pyauto_utils.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # 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 2 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 3 # found in the LICENSE file.
5 4
6 """Common paths for pyauto tests.""" 5 """Common paths for pyauto tests."""
7 6
8 import os 7 import os
9 import sys 8 import sys
10 9
11 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 exe_name = 'chromedriver' 42 exe_name = 'chromedriver'
44 if sys.platform == 'win32': 43 if sys.platform == 'win32':
45 exe_name += '.exe' 44 exe_name += '.exe'
46 45
47 import pyautolib 46 import pyautolib
48 dir = os.path.dirname(pyautolib.__file__) 47 dir = os.path.dirname(pyautolib.__file__)
49 exe = os.path.join(dir, exe_name) 48 exe = os.path.join(dir, exe_name)
50 if os.path.exists(exe): 49 if os.path.exists(exe):
51 return exe 50 return exe
52 return None 51 return None
OLDNEW
« no previous file with comments | « chrome/test/pyautolib/pyauto_errors.py ('k') | chrome/test/pyautolib/pyauto_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698