[Zope3-checkins] CVS: Zope3/src/zope/i18n/tests - test_gettextmessagecatalog.py:1.1.2.2 test_globaltranslationservice.py:1.1.2.2 test_ireadtranslationservice.py:1.1.2.2 test_iwritetranslationservice.py:1.1.2.2

Jim Fulton jim@zope.com
Mon, 23 Dec 2002 16:28:56 -0500


Update of /cvs-repository/Zope3/src/zope/i18n/tests
In directory cvs.zope.org:/tmp/cvs-serv10837/tests

Modified Files:
      Tag: NameGeddon-branch
	test_gettextmessagecatalog.py test_globaltranslationservice.py 
	test_ireadtranslationservice.py 
	test_iwritetranslationservice.py 
Log Message:
Got tests passing

=== Zope3/src/zope/i18n/tests/test_gettextmessagecatalog.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/i18n/tests/test_gettextmessagecatalog.py:1.1.2.1	Mon Dec 23 14:32:51 2002
+++ Zope3/src/zope/i18n/tests/test_gettextmessagecatalog.py	Mon Dec 23 16:28:56 2002
@@ -24,7 +24,7 @@
 
 
     def _getMessageCatalog(self):
-        from Zope.I18n import tests
+        from zope.i18n import tests
         path = os.path.split(tests.__file__)[0]
         self._path = os.path.join(path, 'en-default.mo')
         catalog = GettextMessageCatalog('en', 'default', self._path)


=== Zope3/src/zope/i18n/tests/test_globaltranslationservice.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/i18n/tests/test_globaltranslationservice.py:1.1.2.1	Mon Dec 23 14:32:51 2002
+++ Zope3/src/zope/i18n/tests/test_globaltranslationservice.py	Mon Dec 23 16:28:56 2002
@@ -22,7 +22,7 @@
      Environment
 
 def testdir():
-    from Zope.I18n import tests
+    from zope.i18n import tests
     return os.path.dirname(tests.__file__)
 
 


=== Zope3/src/zope/i18n/tests/test_ireadtranslationservice.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/i18n/tests/test_ireadtranslationservice.py:1.1.2.1	Mon Dec 23 14:32:51 2002
+++ Zope3/src/zope/i18n/tests/test_ireadtranslationservice.py	Mon Dec 23 16:28:56 2002
@@ -19,8 +19,9 @@
 import unittest
 from zope.interface.verify import verifyObject
 from zope.component.tests.placelesssetup import PlacelessSetup
-from zope.app.component.metaconfigure import \
-     provideService, managerHandler
+
+# XXX Bad, can't depend on app!
+from zope.app.component.metaconfigure import provideService, managerHandler
 from zope.i18n.negotiator import negotiator
 from zope.interfaces.i18n import INegotiator
 from zope.interfaces.i18n import IUserPreferredLanguages


=== Zope3/src/zope/i18n/tests/test_iwritetranslationservice.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/i18n/tests/test_iwritetranslationservice.py:1.1.2.1	Mon Dec 23 14:32:51 2002
+++ Zope3/src/zope/i18n/tests/test_iwritetranslationservice.py	Mon Dec 23 16:28:56 2002
@@ -20,8 +20,9 @@
 
 from zope.interface.verify import verifyObject
 from zope.component.tests.placelesssetup import PlacelessSetup
-from zope.app.component.metaconfigure import \
-     provideService, managerHandler
+
+# XXX Bad, can't depend on app!
+from zope.app.component.metaconfigure import provideService, managerHandler
 
 from zope.i18n.negotiator import negotiator
 from zope.interfaces.i18n import INegotiator