[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/security/tests/test_directives.py
Added missing cleanup code to zope.app.security unit tests.
Marius Gedminas
marius at pov.lt
Sat Jan 20 07:54:43 EST 2007
Log message for revision 72130:
Added missing cleanup code to zope.app.security unit tests.
Changed:
U Zope3/trunk/src/zope/app/security/tests/test_directives.py
-=-
Modified: Zope3/trunk/src/zope/app/security/tests/test_directives.py
===================================================================
--- Zope3/trunk/src/zope/app/security/tests/test_directives.py 2007-01-20 12:53:26 UTC (rev 72129)
+++ Zope3/trunk/src/zope/app/security/tests/test_directives.py 2007-01-20 12:54:42 UTC (rev 72130)
@@ -207,11 +207,10 @@
def setUp(self):
super(DirectivesTest, self).setUp()
from zope.app.security import tests
-
self.context = xmlconfig.file("redefineperms.zcml", tests)
def tearDown(self):
- global perms
+ super(DirectivesTest, self).tearDown()
perms.remove('zope.Security')
def testRedefinePermission(self):
More information about the Zope3-Checkins
mailing list