[Zope3-checkins] CVS: Zope3/src/zope/app/services/translation/tests - test_gettextexportimport.py:1.3.2.1 test_translationservice.py:1.2.4.1
Sidnei da Silva
sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:42:01 -0500
Update of /cvs-repository/Zope3/src/zope/app/services/translation/tests
In directory cvs.zope.org:/tmp/cvs-serv18615/src/zope/app/services/translation/tests
Modified Files:
Tag: paris-copypasterename-branch
test_gettextexportimport.py test_translationservice.py
Log Message:
Updating from HEAD to make sure everything still works before merging
=== Zope3/src/zope/app/services/translation/tests/test_gettextexportimport.py 1.3 => 1.3.2.1 ===
--- 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 Tue Feb 11 09:41:31 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.2.4.1 ===
--- 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 Tue Feb 11 09:41:31 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)