[Zope-Checkins] CVS: Zope2 - testPythonScript.py:1.1.4.3
Evan Simpson
evan@digicool.com
Thu, 5 Apr 2001 00:24:21 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/Products/PythonScripts/tests
In directory korak:/tmp/cvs-serv8859
Modified Files:
Tag: zope-2_3-branch
testPythonScript.py
Log Message:
Added a test for a bug. It fails right now.
--- Updated File testPythonScript.py in package Zope2 --
--- testPythonScript.py 2001/03/28 10:52:44 1.1.4.2
+++ testPythonScript.py 2001/04/05 04:24:20 1.1.4.3
@@ -203,6 +203,10 @@
txt = self._newPS(readf('complex_print'))()
assert txt == 'double\ndouble\n x: 1\ny: 0 1 2\n\n', txt
+ def testBooleanMap(self):
+ true = self._newPS(readf('boolean_map'))()
+ assert true
+
def testNSBind(self):
f = self._newPS(readf('ns_bind'), bind={'name_ns': '_'})
bound = f.__render_with_namespace__({'yes': 1, 'no': self.fail})