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

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

Issue 10830193: Remove SWIGged use of BrowserProxy and TabProxy from PyAuto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/test/functional/omniboxmodel.py
diff --git a/chrome/test/functional/omniboxmodel.py b/chrome/test/functional/omniboxmodel.py
index 3c4a74114c4a36c9122d3150a093c15e03ec635c..579bb80cd8ecb279f45a12c60c5baf4bdcbd4efc 100755
--- a/chrome/test/functional/omniboxmodel.py
+++ b/chrome/test/functional/omniboxmodel.py
@@ -87,10 +87,10 @@ class OmniboxModelTest(autotour.Godel, PyUITest):
self.VerifyOmniboxInfo()
@autotour.GodelAction(10, CanCloseTab)
- def CloseTab(self):
+ def CloseFirstTab(self):
"""Closes the first tab from the first window"""
self._tab_count = self._tab_count - 1
- self.GetBrowserWindow(0).GetTab(0).Close(True)
+ self.CloseTab()
def VerifyOmniboxInfo(self):
for key in self._url_map.keys():

Powered by Google App Engine
This is Rietveld 408576698