[Zope3-checkins] CVS: Zope3/src/zope/app/browser/exception/tests - test_unauthorized.py:1.12

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Mar 8 07:07:05 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/exception/tests
In directory cvs.zope.org:/tmp/cvs-serv13053/src/zope/app/browser/exception/tests

Modified Files:
	test_unauthorized.py 
Log Message:


Adjusted code to use the new APIs for permissions and principals. Also, use
the utility service instead of the permission registry to look up permissions.




=== Zope3/src/zope/app/browser/exception/tests/test_unauthorized.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/browser/exception/tests/test_unauthorized.py:1.11	Fri Feb 13 22:27:13 2004
+++ Zope3/src/zope/app/browser/exception/tests/test_unauthorized.py	Mon Mar  8 07:05:53 2004
@@ -16,10 +16,10 @@
 $Id$
 """
 from unittest import TestCase, main, makeSuite
+from zope.interface import implements
 from zope.publisher.browser import TestRequest
-from zope.app.interfaces.security import IAuthenticationService, IPrincipal
+from zope.app.security.interfaces import IAuthenticationService, IPrincipal
 from zope.app.container.contained import contained
-from zope.interface import implements
 from zope.app.browser.exception.unauthorized import Unauthorized
 from zope.app.event.tests.placelesssetup import PlacelessSetup
 




More information about the Zope3-Checkins mailing list