Index: functional/enterprise.py |
=================================================================== |
--- functional/enterprise.py (revision 95847) |
+++ functional/enterprise.py (working copy) |
@@ -543,7 +543,7 @@ |
if self.GetBrowserInfo()['properties']['branding'] != 'Google Chrome': |
return |
if self.IsWin(): |
- download_default_dir = os.path.join(os.getenv('USERPROFILE'),'Downloads') |
+ download_default_dir = self.GetDownloadDirectory().value() |
self.assertEqual(download_default_dir, |
self.GetPrefsInfo().Prefs()['download']['default_directory'], |
msg='Downloads directory is not set correctly.') |