summaryrefslogtreecommitdiffstats
path: root/chrome/test/functional
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-14 20:50:04 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-14 20:50:04 +0000
commit9c685aa9b429995a62d5c2aad8dd5cd429d3f2ac (patch)
tree463a49f6b4fd0b3fa9fddaef1ecef5e4e2d9f42d /chrome/test/functional
parent366c07dfbd9211fa225a98a01e5247558e7a0b50 (diff)
downloadchromium_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.py2
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)