[Zope3-checkins] CVS: Zope3/src/zope/tales/tests - test_expressions.py:1.5

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Sep 19 06:27:13 EDT 2003


Update of /cvs-repository/Zope3/src/zope/tales/tests
In directory cvs.zope.org:/tmp/cvs-serv5789/src/zope/tales/tests

Modified Files:
	test_expressions.py 
Log Message:
Fixed failing test.


=== Zope3/src/zope/tales/tests/test_expressions.py 1.4 => 1.5 ===
--- Zope3/src/zope/tales/tests/test_expressions.py:1.4	Tue Sep 16 18:11:27 2003
+++ Zope3/src/zope/tales/tests/test_expressions.py	Fri Sep 19 06:27:11 2003
@@ -153,13 +153,13 @@
                 raise KeyError,key
             
         self.TestNameSpace = TestNameSpace
-        self.engine.registerFunctionNamespace('namespace',self.TestNameSpace)
+        self.engine.registerFunctionNamespace('namespace', self.TestNameSpace)
 
     ## framework-ish tests
 
     def testSetEngine(self):
         expr = self.engine.compile('adapterTest/namespace:engine')
-        self.assertEqual(expr(self.context), self.engine)
+        self.assertEqual(expr(self.context), self.context)
                 
     def testGetFunctionNamespace(self):
         self.assertEqual(




More information about the Zope3-Checkins mailing list