[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component/tests - test_interfacewidget.py:1.16.2.1
Sidnei da Silva
sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:41:59 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/component/tests
In directory cvs.zope.org:/tmp/cvs-serv18615/src/zope/app/browser/component/tests
Modified Files:
Tag: paris-copypasterename-branch
test_interfacewidget.py
Log Message:
Updating from HEAD to make sure everything still works before merging
=== Zope3/src/zope/app/browser/component/tests/test_interfacewidget.py 1.16 => 1.16.2.1 ===
--- Zope3/src/zope/app/browser/component/tests/test_interfacewidget.py:1.16 Sat Jan 25 08:09:57 2003
+++ Zope3/src/zope/app/browser/component/tests/test_interfacewidget.py Tue Feb 11 09:40:57 2003
@@ -28,6 +28,7 @@
from zope.app.browser.component.interfacewidget import MultiInterfaceWidget
from zope.publisher.browser import TestRequest
from zope.component.service import serviceManager, defineService
+from zope.component.servicenames import Interfaces
from zope.app.interfaces.form import ConversionError
class I(Interface):
@@ -51,8 +52,8 @@
def setUp(self):
service = InterfaceService()
- defineService('Interfaces', IInterfaceService)
- serviceManager.provideService('Interfaces', service)
+ defineService(Interfaces, IInterfaceService)
+ serviceManager.provideService(Interfaces, service)
service.provideInterface(I.__module__+'.'+I.__name__, I)
service.provideInterface(I2.__module__+'.'+I2.__name__, I2)
service.provideInterface(I3.__module__+'.'+I3.__name__, I3)