[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/xmlrpc/tests - test_directives.py:1.5

Steve Alexander steve@cat-box.net
Fri, 6 Jun 2003 16:25:31 -0400


Update of /cvs-repository/Zope3/src/zope/app/publisher/xmlrpc/tests
In directory cvs.zope.org:/tmp/cvs-serv16177/src/zope/app/publisher/xmlrpc/tests

Modified Files:
	test_directives.py 
Log Message:
changed to use new interface declarations and api


=== Zope3/src/zope/app/publisher/xmlrpc/tests/test_directives.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/publisher/xmlrpc/tests/test_directives.py:1.4	Thu May  1 15:35:29 2003
+++ Zope3/src/zope/app/publisher/xmlrpc/tests/test_directives.py	Fri Jun  6 16:25:31 2003
@@ -31,6 +31,7 @@
 from zope.publisher.interfaces.xmlrpc import IXMLRPCPresentation
 
 import zope.app.publisher.xmlrpc
+from zope.interface import implements
 
 template = """<zopeConfigure
    xmlns='http://namespaces.zope.org/zope'
@@ -41,7 +42,7 @@
 request = Request(IXMLRPCPresentation)
 
 class Ob:
-    __implements__ = IC
+    implements(IC)
 
 ob = Ob()