[Zope-Checkins] CVS: Zope/lib/python/AccessControl/tests - testZopeGuards.py:1.1.4.2

Tres Seaver tseaver at zope.com
Mon Jan 12 18:56:03 EST 2004


Update of /cvs-repository/Zope/lib/python/AccessControl/tests
In directory cvs.zope.org:/tmp/cvs-serv31591/lib/python/AccessControl/tests

Modified Files:
      Tag: Zope-2_7-branch
	testZopeGuards.py 
Log Message:
 - Ensure that we catch the base Unauthorized.


=== Zope/lib/python/AccessControl/tests/testZopeGuards.py 1.1.4.1 => 1.1.4.2 ===
--- Zope/lib/python/AccessControl/tests/testZopeGuards.py:1.1.4.1	Thu Jan  8 18:33:44 2004
+++ Zope/lib/python/AccessControl/tests/testZopeGuards.py	Mon Jan 12 18:56:02 2004
@@ -23,7 +23,7 @@
 import ZODB
 import AccessControl.SecurityManagement
 from AccessControl.SimpleObjectPolicies import ContainerAssertions
-from AccessControl import Unauthorized
+from zExceptions import Unauthorized
 from AccessControl.ZopeGuards \
     import guarded_getattr, get_dict_get, get_dict_pop, get_list_pop, \
     get_iter, guarded_min, guarded_max, safe_builtins, guarded_enumerate, \




More information about the Zope-Checkins mailing list