[Zope-Checkins] CVS: Zope3/lib/python/Zope/I18n/tests - testITranslationService.py:1.1.2.2

Jim Fulton jim@zope.com
Sat, 19 Jan 2002 13:19:04 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/I18n/tests
In directory cvs.zope.org:/tmp/cvs-serv15713/tests

Modified Files:
      Tag: Zope-3x-branch
	testITranslationService.py 
Log Message:
Renamed IVariable to IInterpolationVariable and gave it it's own module.


=== Zope3/lib/python/Zope/I18n/tests/testITranslationService.py 1.1.2.1 => 1.1.2.2 ===
 import unittest, sys
 from Zope.I18n.ITranslationService import ITranslationService
-from Zope.I18n.ITranslationService import IVariable
+from Zope.I18n.IInterpolationVariable import IInterpolationVariable
 
 
 class TestITranslationService(unittest.TestCase):
@@ -170,7 +170,7 @@
 class Var:
     ''' '''
     
-    __implements__ =  IVariable
+    __implements__ =  IInterpolationVariable
 
 
     def __init__(self, name):
@@ -190,10 +190,10 @@
 
     ############################################################
     # Implementation methods for interface
-    # Zope.I18n.ITranslationService.IVariable
+    # Zope.I18n.ITranslationService.IInterpolationVariable
 
     def getInterpolationName(self):
-        '''See interface IVariable'''
+        '''See interface IInterpolationVariable'''
 
         return self._name