[Zope-Checkins] CVS: Zope3/lib/python/Zope/PageTemplate/tests - testExpressions.py:1.1.2.4
Fred Drake Jr
fdrake@acm.org
Tue, 20 Nov 2001 14:20:53 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/PageTemplate/tests
In directory cvs.zope.org:/tmp/cvs-serv20084/tests
Modified Files:
Tag: Zope-3x-branch
testExpressions.py
Log Message:
Use getEngine() instead of Expressions.getEngine(), since that is how we
import it.
=== Zope3/lib/python/Zope/PageTemplate/tests/testExpressions.py 1.1.2.3 => 1.1.2.4 ===
def testCompile(self):
'''Test expression compilation'''
- e = Expressions.getEngine()
+ e = getEngine()
for p in ('x', 'x/y', 'x/y/z'):
e.compile(p)
e.compile('path:a|b|c/d/e')