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

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

Issue 7548024: Refactor: Make PyAuto InstallExtension() take a string. Delete dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixup per kkania. Created 9 years, 5 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 | « chrome/test/functional/chromeos_security.py ('k') | chrome/test/functional/memory.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/extensions.py
diff --git a/chrome/test/functional/extensions.py b/chrome/test/functional/extensions.py
index 8a40848e2927e2ac239722079069511b6c015ad1..133210152276bb143e32d6987909df4cf161a55f 100644
--- a/chrome/test/functional/extensions.py
+++ b/chrome/test/functional/extensions.py
@@ -64,7 +64,7 @@ class ExtensionsTest(pyauto.PyUITest):
group_end = curr_extension + group_size
for extension in extensions[curr_extension:group_end]:
logging.debug('Installing extension: %s' % extension)
- self.InstallExtension(pyauto.FilePath(extension), False)
+ self.InstallExtension(extension, False)
for url in top_urls:
self.NavigateToURL(url)
@@ -157,7 +157,7 @@ class ExtensionsTest(pyauto.PyUITest):
"""Test setting different extension states."""
crx_file_path = os.path.abspath(
os.path.join(self.DataDir(), 'extensions', 'google_talk.crx'))
- ext_id = self.InstallExtension(pyauto.FilePath(crx_file_path), False);
+ ext_id = self.InstallExtension(crx_file_path, False);
self.assertTrue(ext_id, 'Failed to install extension.')
# Verify extension is in default state.
« no previous file with comments | « chrome/test/functional/chromeos_security.py ('k') | chrome/test/functional/memory.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698