[Zope-Checkins] SVN: Zope/branches/2.13/src/webdav/tests/test_davcmds.py - simplified test setup

Yvo Schubbe y.2010 at wcm-solutions.de
Tue Dec 28 08:51:01 EST 2010


Log message for revision 119196:
  - simplified test setup

Changed:
  U   Zope/branches/2.13/src/webdav/tests/test_davcmds.py

-=-
Modified: Zope/branches/2.13/src/webdav/tests/test_davcmds.py
===================================================================
--- Zope/branches/2.13/src/webdav/tests/test_davcmds.py	2010-12-28 12:16:02 UTC (rev 119195)
+++ Zope/branches/2.13/src/webdav/tests/test_davcmds.py	2010-12-28 13:51:01 UTC (rev 119196)
@@ -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