diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-25 01:18:19 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-25 01:18:19 +0000 |
commit | 9026be28261f05ff7f77b2e7c16e96d7b942bfbf (patch) | |
tree | 7d2e14bb86e42410181065cda6c69a333467934c /chrome/test/pyautolib | |
parent | d21d35715a28ae4e1d59f2136addf3a764d29bb2 (diff) | |
download | chromium_src-9026be28261f05ff7f77b2e7c16e96d7b942bfbf.zip chromium_src-9026be28261f05ff7f77b2e7c16e96d7b942bfbf.tar.gz chromium_src-9026be28261f05ff7f77b2e7c16e96d7b942bfbf.tar.bz2 |
Fix imports tests on win.
Need to pass abs path to .zip file
Review URL: http://codereview.chromium.org/5385001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67364 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/pyautolib')
-rw-r--r-- | chrome/test/pyautolib/pyauto.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py index f09bcd9..054e51e 100644 --- a/chrome/test/pyautolib/pyauto.py +++ b/chrome/test/pyautolib/pyauto.py @@ -169,7 +169,8 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase): @staticmethod def DataDir(): """Returns the path to the data dir chrome/test/data.""" - return os.path.join(os.path.dirname(__file__), os.pardir, "data") + return os.path.normpath( + os.path.join(os.path.dirname(__file__), os.pardir, "data")) @staticmethod def GetFileURLForPath(path): |