[Pkg-mozext-commits] [requestpolicy] 91/257: [tst][fix] YourPolicy: Don't leak rules

David Prévot taffit at moszumanska.debian.org
Thu Jan 28 03:20:00 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 036854f295ff461df7d20ed44ba8ba69662df563
Author: Martin Kimmerle <dev at 256k.de>
Date:   Fri Oct 16 14:52:20 2015 +0200

    [tst][fix] YourPolicy: Don't leak rules
---
 tests/marionette/rp_puppeteer/tests/test_your_policy.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/marionette/rp_puppeteer/tests/test_your_policy.py b/tests/marionette/rp_puppeteer/tests/test_your_policy.py
index 5ca158c..05592be 100644
--- a/tests/marionette/rp_puppeteer/tests/test_your_policy.py
+++ b/tests/marionette/rp_puppeteer/tests/test_your_policy.py
@@ -76,6 +76,7 @@ class YourPolicyTestCase(RequestPolicyTestCase):
 
     def tearDown(self):
         try:
+            self.rules.remove_all()
             self.marionette.set_context("chrome")
         finally:
             super(YourPolicyTestCase, self).tearDown()

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