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

Unified Diff: chrome/test/functional/downloads.py

Issue 8622007: Fix testSaveDangerousFile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/downloads/dangerous/dangerous.com ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/downloads.py
diff --git a/chrome/test/functional/downloads.py b/chrome/test/functional/downloads.py
index 47bb3d67db1c4f50666018aacf33903280309d22..97236aba0575114a44b97517fe70869e66cc1810 100644
--- a/chrome/test/functional/downloads.py
+++ b/chrome/test/functional/downloads.py
@@ -64,6 +64,8 @@ class DownloadsTest(pyauto.PyUITest):
def _GetDangerousDownload(self):
"""Returns the file path for a dangerous download for this OS."""
sub_path = os.path.join(self.DataDir(), 'downloads', 'dangerous')
+ if self.IsWin():
+ return os.path.join(sub_path, 'dangerous.com')
return os.path.join(sub_path, 'dangerous.jar')
def _EqualFileContents(self, file1, file2):
« no previous file with comments | « chrome/test/data/downloads/dangerous/dangerous.com ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698