[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/tests - test_rolecontents.py:1.4

Steve Alexander steve@cat-box.net
Tue, 3 Jun 2003 10:42:54 -0400


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

Modified Files:
	test_rolecontents.py 
Log Message:
new style implements()


=== Zope3/src/zope/app/browser/services/tests/test_rolecontents.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/services/tests/test_rolecontents.py:1.3	Thu Mar 13 13:49:03 2003
+++ Zope3/src/zope/app/browser/services/tests/test_rolecontents.py	Tue Jun  3 10:42:54 2003
@@ -18,7 +18,7 @@
 
 import unittest
 
-from zope.interface import Interface
+from zope.interface import Interface, implements
 from zope.app.browser.services.role import Contents
 from zope.app.services.role import RoleService
 from zope.app.browser.container.tests.test_contents \
@@ -28,7 +28,7 @@
     pass
 
 class Dummy:
-    __implements__ = IDummy
+    implements(IDummy)
 
 class Test(BaseTestContentsBrowserView, unittest.TestCase):