diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-14 20:50:04 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-14 20:50:04 +0000 |
commit | 9c685aa9b429995a62d5c2aad8dd5cd429d3f2ac (patch) | |
tree | 463a49f6b4fd0b3fa9fddaef1ecef5e4e2d9f42d /chrome/test/functional | |
parent | 366c07dfbd9211fa225a98a01e5247558e7a0b50 (diff) | |
download | chromium_src-9c685aa9b429995a62d5c2aad8dd5cd429d3f2ac.zip chromium_src-9c685aa9b429995a62d5c2aad8dd5cd429d3f2ac.tar.gz chromium_src-9c685aa9b429995a62d5c2aad8dd5cd429d3f2ac.tar.bz2 |
Fix downloads tests
Review URL: http://codereview.chromium.org/5796007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69171 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/functional')
-rw-r--r-- | chrome/test/functional/downloads.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/functional/downloads.py b/chrome/test/functional/downloads.py index 715ee57..2bf8222 100644 --- a/chrome/test/functional/downloads.py +++ b/chrome/test/functional/downloads.py @@ -323,7 +323,7 @@ class DownloadsTest(pyauto.PyUITest): dangerous_dir = os.path.join( self.DataDir(), 'downloads', 'dangerous') assert os.path.isfile(os.path.join(dangerous_dir, filename)) - file_url = self.GetFileURLForDataPath(os.path.join( + file_url = self.GetFileURLForPath(os.path.join( dangerous_dir, 'download-dangerous.html')) + '?' + filename num_downloads = len(self.GetDownloadsInfo().Downloads()) self.NavigateToURL(file_url, windex, tab_index) |