[Zope-Checkins] CVS: Zope/lib/python/AccessControl/tests -
testSecurity.py:1.13
Brian Lloyd
brian at zope.com
Mon Jan 19 09:49:30 EST 2004
Update of /cvs-repository/Zope/lib/python/AccessControl/tests
In directory cvs.zope.org:/tmp/cvs-serv24176/tests
Modified Files:
testSecurity.py
Log Message:
fix builtins
=== Zope/lib/python/AccessControl/tests/testSecurity.py 1.12 => 1.13 ===
--- Zope/lib/python/AccessControl/tests/testSecurity.py:1.12 Fri Jan 16 13:18:51 2004
+++ Zope/lib/python/AccessControl/tests/testSecurity.py Mon Jan 19 09:49:29 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