Fix testSaveDangerousFile

Use dangerous.com on windows.

BUG=104886
TEST=pyauto test testSaveDangerousFile

R=rdsmith@chromium.org

Review URL: http://codereview.chromium.org/8622007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111201 0039d316-1c4b-4281-b951-d872f2087c98
parent f6d73b12
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment