[Zope3-checkins] CVS: Zope3/src/zope/app/services/translation/tests - test_gettextexportimport.py:1.4 test_translationservice.py:1.3
R. Sean Bowman
sean.bowman@acm.org
Thu, 6 Feb 2003 01:50:32 -0500
Update of /cvs-repository/Zope3/src/zope/app/services/translation/tests
In directory cvs.zope.org:/tmp/cvs-serv18167/zope/app/services/translation/tests
Modified Files:
test_gettextexportimport.py test_translationservice.py
Log Message:
finished changing service names to use strings defined in
zope/component/servicenames.py, changed the name of
ErrorReportingService to ErrorReports and Resources to ResourceService
=== Zope3/src/zope/app/services/translation/tests/test_gettextexportimport.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/services/translation/tests/test_gettextexportimport.py:1.3 Mon Dec 30 21:52:06 2002
+++ Zope3/src/zope/app/services/translation/tests/test_gettextexportimport.py Thu Feb 6 01:49:58 2003
@@ -20,6 +20,8 @@
from cStringIO import StringIO
+from zope.component.servicenames import Factories
+
from zope.app.tests.placelesssetup import PlacelessSetup
from zope.app.component.metaconfigure import \
provideService, managerHandler
@@ -78,7 +80,7 @@
managerHandler('defineService', 'LanguageNegotiation', INegotiator)
provideService('LanguageNegotiation', negotiator, 'zope.Public')
self._service = TranslationService('default')
- handler('Factories', 'provideFactory', 'Message Catalog',
+ handler(Factories, 'provideFactory', 'Message Catalog',
MessageCatalog)
=== Zope3/src/zope/app/services/translation/tests/test_translationservice.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/services/translation/tests/test_translationservice.py:1.2 Wed Dec 25 09:13:23 2002
+++ Zope3/src/zope/app/services/translation/tests/test_translationservice.py Thu Feb 6 01:49:58 2003
@@ -17,6 +17,8 @@
"""
import unittest, sys
+from zope.component.servicenames import Factories
+
from zope.app.component.metaconfigure import handler
from zope.app.services.translation.translationservice import \
@@ -40,7 +42,7 @@
TestISyncTranslationService.setUp(self)
TestIReadTranslationService.setUp(self)
TestIWriteTranslationService.setUp(self)
- handler('Factories', 'provideFactory', 'Message Catalog',
+ handler(Factories, 'provideFactory', 'Message Catalog',
MessageCatalog)