[Zope-CVS] CVS: Packages/pypes/pypes/tests - test_expression.py:1.5
Casey Duncan
casey at zope.com
Mon Mar 1 01:36:16 EST 2004
Update of /cvs-repository/Packages/pypes/pypes/tests
In directory cvs.zope.org:/tmp/cvs-serv6567/tests
Modified Files:
test_expression.py
Log Message:
Add expression and query engine interfaces
Assert new expression interface and test
=== Packages/pypes/pypes/tests/test_expression.py 1.4 => 1.5 ===
--- Packages/pypes/pypes/tests/test_expression.py:1.4 Tue Feb 3 01:46:27 2004
+++ Packages/pypes/pypes/tests/test_expression.py Mon Mar 1 01:36:16 2004
@@ -19,10 +19,15 @@
from sets import Set
from compiler import ast, parse
from pypes.tests.common import sort
+from zope.interface.verify import verifyObject
from pypes.expression import Expression, nodesEqual
class TestExpression(unittest.TestCase):
"""Blackbox expression tests"""
+
+ def testInterface(self):
+ from pypes.interfaces import IExpression
+ self.failUnless(verifyObject(IExpression, Expression('x')))
def testExprParses(self):
Expression('x')
More information about the Zope-CVS
mailing list