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

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

Issue 8649004: Allow chromedriver to install an extension and get all installed extension IDs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments 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
Index: chrome/test/functional/omnibox.py
diff --git a/chrome/test/functional/omnibox.py b/chrome/test/functional/omnibox.py
index eee5af6a486a4ec419d74ef357ef80976b213086..db404ccdcec64de5e1265a3e1d975cb7573f4216 100644
--- a/chrome/test/functional/omnibox.py
+++ b/chrome/test/functional/omnibox.py
@@ -361,8 +361,7 @@ class OmniboxTest(pyauto.PyUITest):
"""
app_crx_file = os.path.abspath(os.path.join(self.DataDir(),
'pyauto_private', 'apps', app_name))
- installed_app_id = self.InstallApp(app_crx_file)
- self.assertTrue(installed_app_id, msg='App install failed.')
+ return self.InstallExtension(app_crx_file)
def _VerifyOminiboxMatches(self, search_str, app_url, is_incognito):
"""Verify app matches in omnibox.

Powered by Google App Engine
This is Rietveld 408576698