[Zope-Checkins] CVS: Zope/lib/python/AccessControl/tests - testSecurity.py:1.11.14.4

Brian Lloyd brian at zope.com
Mon Jan 19 09:50:53 EST 2004


Update of /cvs-repository/Zope/lib/python/AccessControl/tests
In directory cvs.zope.org:/tmp/cvs-serv24402/tests

Modified Files:
      Tag: Zope-2_7-branch
	testSecurity.py 
Log Message:
fix builtins


=== Zope/lib/python/AccessControl/tests/testSecurity.py 1.11.14.3 => 1.11.14.4 ===
--- Zope/lib/python/AccessControl/tests/testSecurity.py:1.11.14.3	Fri Jan 16 13:12:11 2004
+++ Zope/lib/python/AccessControl/tests/testSecurity.py	Mon Jan 19 09:50:53 2004
@@ -84,10 +84,13 @@
         <dtml-var expr="_.min([1,2])">
         <dtml-var expr="_.max([2,3])">
         <dtml-var expr="_.sum([1,2,3,4])">
+        <dtml-var expr="_.hasattr(1, 'foo') and 'Yes' or 'No'">
+        <dtml-var expr="_.None">
+        <dtml-var expr="_.string.strip(' testing ')">
         <dtml-var expr="[x for x in (1, 2, 3)]">
         """
 
-        EXPECTED = ['1', '3', '10', '[1, 2, 3]']
+        EXPECTED = ['1', '3', '10', 'No', 'None', 'testing', '[1, 2, 3]']
 
         #
         #   XXX:    these expressions seem like they should work, with




More information about the Zope-Checkins mailing list