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

Unified Diff: functional/enterprise.py

Issue 7558006: Use the pyauto API to get the default download directory since XP has a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/test/
Patch Set: '' Created 9 years, 4 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698