[Pkg-mozext-commits] [requestpolicy] 61/257: [tst][fix] Marionette testcase tearDown: remove all rules

David Prévot taffit at moszumanska.debian.org
Thu Jan 28 03:19:56 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 7260fef7d257f4fcdde3d24cc63e6956cda7958e
Author: Martin Kimmerle <dev at 256k.de>
Date:   Sat Sep 26 20:07:57 2015 +0200

    [tst][fix] Marionette testcase tearDown: remove all rules
---
 tests/marionette/rp_ui_harness/testcases.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/marionette/rp_ui_harness/testcases.py b/tests/marionette/rp_ui_harness/testcases.py
index c202a2c..edd9b59 100644
--- a/tests/marionette/rp_ui_harness/testcases.py
+++ b/tests/marionette/rp_ui_harness/testcases.py
@@ -49,6 +49,8 @@ class RequestPolicyTestCase(RequestPolicyPuppeteer, FirefoxTestCase):
 
     def tearDown(self, *args, **kwargs):
         try:
+            self.rules.remove_all()
+
             self._check_and_reset_error_counts()
         finally:
             FirefoxTestCase.tearDown(self, *args, **kwargs)

-- 
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