[Zope3-checkins] CVS: Zope3/src/zope/app/rdb/tests - test_sqlcommand.py:1.5
Steve Alexander
steve@cat-box.net
Wed, 4 Jun 2003 06:47:07 -0400
Update of /cvs-repository/Zope3/src/zope/app/rdb/tests
In directory cvs.zope.org:/tmp/cvs-serv10932/src/zope/app/rdb/tests
Modified Files:
test_sqlcommand.py
Log Message:
new style implements().
This caused other changes to schemagen.
=== Zope3/src/zope/app/rdb/tests/test_sqlcommand.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/rdb/tests/test_sqlcommand.py:1.4 Tue Mar 11 11:11:15 2003
+++ Zope3/src/zope/app/rdb/tests/test_sqlcommand.py Wed Jun 4 06:46:37 2003
@@ -17,6 +17,8 @@
import unittest
+from zope.interface import implements
+
from zope.app.component import nextservice
from zope.app.interfaces.rdb import IConnectionService
from zope.app.interfaces.rdb import IZopeConnection
@@ -33,7 +35,7 @@
class CursorStub:
- __implements__ = IZopeCursor
+ implements(IZopeCursor)
description = (('id', 'int'),)
@@ -46,7 +48,7 @@
class ConnectionStub:
- __implements__ = IZopeConnection
+ implements(IZopeConnection)
def cursor(self):
return CursorStub()
@@ -54,7 +56,7 @@
class ConnectionServiceStub:
- __implements__ = IConnectionService, ISimpleService
+ implements(IConnectionService, ISimpleService)
def getConnection(self, name):
return ConnectionStub()