[Zope3-checkins] CVS: Zope3/src/zope/app/services/translation/tests - test_filters.py:1.2 test_translationservice.py:1.11
Steve Alexander
steve@cat-box.net
Fri, 6 Jun 2003 17:22:18 -0400
Update of /cvs-repository/Zope3/src/zope/app/services/translation/tests
In directory cvs.zope.org:/tmp/cvs-serv24825/src/zope/app/services/translation/tests
Modified Files:
test_filters.py test_translationservice.py
Log Message:
new interface declarations
=== Zope3/src/zope/app/services/translation/tests/test_filters.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/services/translation/tests/test_filters.py:1.1 Tue Mar 25 13:21:37 2003
+++ Zope3/src/zope/app/services/translation/tests/test_filters.py Fri Jun 6 17:21:47 2003
@@ -34,12 +34,12 @@
TranslationService
from zope.app.services.translation.filters import GettextImportFilter
from zope.app.services.translation.filters import GettextExportFilter
-
+from zope.interface import implements
class Environment:
- __implements__ = IUserPreferredLanguages
+ implements(IUserPreferredLanguages)
def __init__(self, langs=()):
self.langs = langs
=== Zope3/src/zope/app/services/translation/tests/test_translationservice.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/services/translation/tests/test_translationservice.py:1.10 Thu May 1 15:35:36 2003
+++ Zope3/src/zope/app/services/translation/tests/test_translationservice.py Fri Jun 6 17:21:47 2003
@@ -31,11 +31,12 @@
from zope.i18n.tests.test_itranslationservice import \
TestITranslationService
from zope.app.component.metaconfigure import provideService, managerHandler
+from zope.interface import implements
class Environment:
- __implements__ = IUserPreferredLanguages
+ implements(IUserPreferredLanguages)
def __init__(self, langs=()):
self.langs = langs