[Zope3-checkins] CVS: Zope3/src/zope/i18n/tests - test_gettextmessagecatalog.py:1.6 test_globaltranslationservice.py:1.11 test_negotiator.py:1.4 test_translator.py:1.5 testi18nawareobject.py:1.4 testii18naware.py:1.4
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:14 -0400
Update of /cvs-repository/Zope3/src/zope/i18n/tests
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/i18n/tests
Modified Files:
test_gettextmessagecatalog.py test_globaltranslationservice.py
test_negotiator.py test_translator.py testi18nawareobject.py
testii18naware.py
Log Message:
Importgeddon part the second. Removed unused imports throughout the
source tree. This should have taken care of most unused imports
in Zope 3. :)
=== Zope3/src/zope/i18n/tests/test_gettextmessagecatalog.py 1.5 => 1.6 ===
--- Zope3/src/zope/i18n/tests/test_gettextmessagecatalog.py:1.5 Fri Apr 11 15:16:15 2003
+++ Zope3/src/zope/i18n/tests/test_gettextmessagecatalog.py Thu May 1 15:35:43 2003
@@ -15,7 +15,7 @@
$Id$
"""
-import unittest, sys, os
+import unittest, os
from zope.i18n.gettextmessagecatalog import GettextMessageCatalog
from zope.i18n.tests.test_imessagecatalog import TestIMessageCatalog
=== Zope3/src/zope/i18n/tests/test_globaltranslationservice.py 1.10 => 1.11 ===
--- Zope3/src/zope/i18n/tests/test_globaltranslationservice.py:1.10 Thu Apr 17 16:05:13 2003
+++ Zope3/src/zope/i18n/tests/test_globaltranslationservice.py Thu May 1 15:35:43 2003
@@ -15,7 +15,7 @@
$Id$
"""
-import unittest, sys, os
+import unittest, os
from zope.i18n.globaltranslationservice import GlobalTranslationService
from zope.i18n.gettextmessagecatalog import GettextMessageCatalog
from zope.i18n.tests.test_itranslationservice import \
=== Zope3/src/zope/i18n/tests/test_negotiator.py 1.3 => 1.4 ===
--- Zope3/src/zope/i18n/tests/test_negotiator.py:1.3 Mon Dec 30 21:52:15 2002
+++ Zope3/src/zope/i18n/tests/test_negotiator.py Thu May 1 15:35:43 2003
@@ -15,7 +15,7 @@
$Id$
"""
-import unittest, sys
+import unittest
from zope.i18n.negotiator import Negotiator
from zope.i18n.interfaces import IUserPreferredLanguages
=== Zope3/src/zope/i18n/tests/test_translator.py 1.4 => 1.5 ===
--- Zope3/src/zope/i18n/tests/test_translator.py:1.4 Fri Apr 11 09:42:37 2003
+++ Zope3/src/zope/i18n/tests/test_translator.py Thu May 1 15:35:43 2003
@@ -19,8 +19,6 @@
import os
import unittest
-from zope.i18n.globaltranslationservice import GlobalTranslationService
-from zope.i18n.interfaces import ITranslationService
from zope.i18n.interfaces import ILocaleIdentity, ILocale
from zope.i18n.translate import Translator
from zope.i18n.gettextmessagecatalog import GettextMessageCatalog
=== Zope3/src/zope/i18n/tests/testi18nawareobject.py 1.3 => 1.4 ===
--- Zope3/src/zope/i18n/tests/testi18nawareobject.py:1.3 Mon Dec 30 21:52:15 2002
+++ Zope3/src/zope/i18n/tests/testi18nawareobject.py Thu May 1 15:35:43 2003
@@ -16,7 +16,7 @@
$Id$
"""
import unittest
-from zope.interface.verify import verifyObject
+
from zope.i18n.interfaces import II18nAware
from zope.i18n.tests.testii18naware import TestII18nAware
=== Zope3/src/zope/i18n/tests/testii18naware.py 1.3 => 1.4 ===
--- Zope3/src/zope/i18n/tests/testii18naware.py:1.3 Mon Dec 30 21:52:15 2002
+++ Zope3/src/zope/i18n/tests/testii18naware.py Thu May 1 15:35:43 2003
@@ -16,14 +16,10 @@
$Id$
"""
import unittest
-from zope.interface.verify import verifyObject
-from zope.i18n.interfaces import II18nAware
-
def sorted(list):
list.sort()
return list
-
class TestII18nAware(unittest.TestCase):