[Zope3-checkins] CVS: Zope3/src/zope/tal/tests - test_talinterpreter.py:1.3.4.15

Godefroid Chapelle gotcha at swing.be
Wed Aug 13 11:23:50 EDT 2003


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

Modified Files:
      Tag: srichter-i18n-macro-interaction-branch
	test_talinterpreter.py 
Log Message:
small glitches



=== Zope3/src/zope/tal/tests/test_talinterpreter.py 1.3.4.14 => 1.3.4.15 ===
--- Zope3/src/zope/tal/tests/test_talinterpreter.py:1.3.4.14	Fri Aug  8 16:28:04 2003
+++ Zope3/src/zope/tal/tests/test_talinterpreter.py	Wed Aug 13 10:23:45 2003
@@ -132,13 +132,12 @@
             '<span i18n:translate="" i18n:name="color_name">green</span>')
 
     def test_translate_static_text_as_dynamic(self):
-        # The follwoing code is also dumb; tell the user just that!
         program, macros = self._compile(
             '<div i18n:translate="">This is text for '
             '<span i18n:translate="" tal:content="bar" i18n:name="bar_name"/>.'
             '</div>')
         self._check(program,
-                    '<div>THIS IS TEXT FOR <span>BARVALUE</span></div>\n')
+                    '<div>THIS IS TEXT FOR <span>BARVALUE</span>.</div>\n')
 
     def test_for_correct_msgids(self):
 
@@ -166,7 +165,7 @@
         self.assert_('<div>This is text for ${bar_name}.</div>' in
                      xlatsvc.data)
         self.assertEqual(
-            '<div>THIS IS TEXT FOR <span>BARVALUE</span></div>\n',
+            '<div>THIS IS TEXT FOR <span>BARVALUE</span>.</div>\n',
             result.getvalue())
 
 




More information about the Zope3-Checkins mailing list