[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/translation/tests - test_translate.py:1.5.10.1

Jim Fulton jim at zope.com
Fri Sep 12 15:15:48 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/services/translation/tests
In directory cvs.zope.org:/tmp/cvs-serv13470/src/zope/app/browser/services/translation/tests

Modified Files:
      Tag: parentgeddon-branch
	test_translate.py 
Log Message:
Can't have the tests passing, can we?

=== Zope3/src/zope/app/browser/services/translation/tests/test_translate.py 1.5 => 1.5.10.1 ===
--- Zope3/src/zope/app/browser/services/translation/tests/test_translate.py:1.5	Sun Jul 20 08:17:16 2003
+++ Zope3/src/zope/app/browser/services/translation/tests/test_translate.py	Fri Sep 12 15:15:17 2003
@@ -62,8 +62,8 @@
         en_catalog.setMessage('greeting', 'Hello $name, how are you?')
         de_catalog.setMessage('greeting', 'Hallo $name, wie geht es Dir?')
 
-        service.setObject('en-default-1', en_catalog)
-        service.setObject('de-default-1', de_catalog)
+        service['en-default-1'] = en_catalog
+        service['de-default-1'] = de_catalog
 
         self._view = Translate(service, self._getRequest())
 




More information about the Zope3-Checkins mailing list