[Pkg-mozext-commits] [requestpolicy] 173/257: [tst][fix] multiple installations: leaked notice tabs

David Prévot taffit at moszumanska.debian.org
Thu Jan 28 03:20:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository requestpolicy.

commit 1aade801ea822016018743f9687ebb16a5c1e437
Author: Martin Kimmerle <dev at 256k.de>
Date:   Tue Dec 1 15:59:38 2015 +0100

    [tst][fix] multiple installations: leaked notice tabs
---
 .../tests/addon_install_and_upgrade/test_multiple_installations.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/tests/marionette/tests/addon_install_and_upgrade/test_multiple_installations.py b/tests/marionette/tests/addon_install_and_upgrade/test_multiple_installations.py
index 9699c0e..524dab4 100644
--- a/tests/marionette/tests/addon_install_and_upgrade/test_multiple_installations.py
+++ b/tests/marionette/tests/addon_install_and_upgrade/test_multiple_installations.py
@@ -33,18 +33,17 @@ class MultipleInstallationsTestCase(RequestPolicyTestCase):
 
     def tearDown(self):
         try:
-            self._close_notice_tabs()
-
             self.other_rp.uninstall()
             self.rp_addon.install()
 
-            self.rp_addon.ignore_errors = False
-
             # Restart the browser. (It's a method of FirefoxTestCase.)
             # It's necessary to restart because multiple installed versions
             # might have broken RequestPolicy's functionality.
             self.restart()
         finally:
+            self._close_notice_tabs()
+            self.rp_addon.ignore_errors = False
+
             # It's highly probable that errors occur. However, the tests
             # in this file don't intend to avoid these errors.
             self.logging_error_detect.reset()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git



More information about the Pkg-mozext-commits mailing list