[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate/tests - test_talesapi.py:1.7

Jim Fulton jim at zope.com
Tue Sep 23 15:12:30 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/pagetemplate/tests
In directory cvs.zope.org:/tmp/cvs-serv19608/src/zope/app/pagetemplate/tests

Modified Files:
	test_talesapi.py 
Log Message:
Updated a test to make it runnable in a loop.

Changed a test to not mutate a module global.


=== Zope3/src/zope/app/pagetemplate/tests/test_talesapi.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/pagetemplate/tests/test_talesapi.py:1.6	Tue Sep 16 18:05:05 2003
+++ Zope3/src/zope/app/pagetemplate/tests/test_talesapi.py	Tue Sep 23 15:12:30 2003
@@ -72,6 +72,7 @@
     >>> api.title_or_name()
     u'apple cart'
 
+    >>> testObject = TestObject()
     >>> testObject.title = u""
     >>> api = ZopeTalesAPI(testObject)
     >>> api.title_or_name()




More information about the Zope3-Checkins mailing list