[Zope-Checkins] SVN: Zope/trunk/src/webdav/tests/test_davcmds.py - simplified test setup
Yvo Schubbe
y.2010 at wcm-solutions.de
Tue Dec 28 08:51:28 EST 2010
Log message for revision 119197:
- simplified test setup
Changed:
U Zope/trunk/src/webdav/tests/test_davcmds.py
-=-
Modified: Zope/trunk/src/webdav/tests/test_davcmds.py
===================================================================
--- Zope/trunk/src/webdav/tests/test_davcmds.py 2010-12-28 13:51:01 UTC (rev 119196)
+++ Zope/trunk/src/webdav/tests/test_davcmds.py 2010-12-28 13:51:27 UTC (rev 119197)
@@ -1,7 +1,6 @@
import unittest
from AccessControl.SecurityManagement import getSecurityManager
-from AccessControl.SecurityManagement import newSecurityManager
from AccessControl.SecurityManagement import noSecurityManager
from AccessControl.SecurityManager import setSecurityPolicy
from zExceptions import Forbidden
@@ -111,7 +110,6 @@
def setUp(self):
self._oldPolicy = setSecurityPolicy(_DummySecurityPolicy())
- newSecurityManager(None, object())
def tearDown(self):
noSecurityManager()
More information about the Zope-Checkins
mailing list