[Zope3-checkins] CVS: Zope3/src/zope/app/content/tests - test_sqlscript.py:1.13

Stephan Richter srichter@cosmos.phy.tufts.edu
Wed, 11 Jun 2003 09:59:09 -0400


Update of /cvs-repository/Zope3/src/zope/app/content/tests
In directory cvs.zope.org:/tmp/cvs-serv25169/src/zope/app/content/tests

Modified Files:
	test_sqlscript.py 
Log Message:
Use new way of assigning new interfaces.


=== Zope3/src/zope/app/content/tests/test_sqlscript.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/content/tests/test_sqlscript.py:1.12	Wed Jun 11 09:47:58 2003
+++ Zope3/src/zope/app/content/tests/test_sqlscript.py	Wed Jun 11 09:59:09 2003
@@ -17,8 +17,7 @@
 
 import unittest
 
-from zope.interface import implements
-from zope.interface.implements import implements as setImplements
+from zope.interface import implements, classImplements
 
 from zope.app.interfaces.rdb import IConnectionService
 from zope.app.interfaces.rdb import IZopeConnection
@@ -131,7 +130,7 @@
 
     def setUp(self):
         PlacelessSetup.setUp(self)
-        setImplements(SQLScript, IAttributeAnnotatable)
+        classImplements(SQLScript, IAttributeAnnotatable)
         sm.defineService('SQLDatabaseConnections', IConnectionService)
         sm.provideService('SQLDatabaseConnections', ConnectionServiceStub())
         self._old_getNextServiceManager = nextservice.getNextServiceManager