diff options
author | alyssad@chromium.org <alyssad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 18:14:35 +0000 |
---|---|---|
committer | alyssad@chromium.org <alyssad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 18:14:35 +0000 |
commit | 1ebe3cefbab03f450586895feea998f994ff13f8 (patch) | |
tree | 43e5c0b3238b8da6295407387def81cf4794c863 | |
parent | 366e3005fbea54d2a7da5403c9c11a286b5cbd55 (diff) | |
download | chromium_src-1ebe3cefbab03f450586895feea998f994ff13f8.zip chromium_src-1ebe3cefbab03f450586895feea998f994ff13f8.tar.gz chromium_src-1ebe3cefbab03f450586895feea998f994ff13f8.tar.bz2 |
Fix for pyauto extensions tool to allow for multiple browser windows to be open
Review URL: http://codereview.chromium.org/2991004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52348 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/test/functional/extensions.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/test/functional/extensions.py b/chrome/test/functional/extensions.py index df46224..b5584d3 100644 --- a/chrome/test/functional/extensions.py +++ b/chrome/test/functional/extensions.py @@ -55,9 +55,10 @@ class ExtensionsTest(pyauto.PyUITest): # Navigate to the top urls and verify there is still one window for url in top_urls[:num_urls_to_visit]: self.NavigateToURL(url) - self.assertEqual(1, self.GetBrowserWindowCount(), - 'Extensions in failing group: %s' % - extensions[curr_extension:group_end]) + # Assert that there is at least 1 browser window. + self.assertTrue(self.GetBrowserWindowCount(), + 'Extensions in failing group: %s' % + extensions[curr_extension:group_end]) curr_extension = group_end |