gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r165513 - /gump/branches/Gump3/pygump/python/gump/test/testEngine.py
Date Sun, 01 May 2005 14:37:22 GMT
Author: leosimons
Date: Sun May  1 07:37:22 2005
New Revision: 165513

URL: http://svn.apache.org/viewcvs?rev=165513&view=rev
Log:
Fix error introduced in r165133 because the signature for walk() changed.

* pygump/python/gump/test/testEngine.py: adapt testcase to new walk() semantics.

Modified:
    gump/branches/Gump3/pygump/python/gump/test/testEngine.py

Modified: gump/branches/Gump3/pygump/python/gump/test/testEngine.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testEngine.py?rev=165513&r1=165512&r2=165513&view=diff
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testEngine.py (original)
+++ gump/branches/Gump3/pygump/python/gump/test/testEngine.py Sun May  1 07:37:22 2005
@@ -222,9 +222,9 @@
         self.workspace_loader.expects(once()).get_workspace_tree(same(ws)).will(return_value(passaroundobj))
         self.workspace_normalizer.expects(once()).normalize(same(domtree)).will(return_value(domtree))
         self.workspace_objectifier.expects(once()).get_workspace(same(domtree)).will(return_value(objectws))
-        self.walker.expects(once()).walk(same(objectws),same(self.pre_process_visitor))
-        self.walker.expects(once()).walk(same(objectws),same(self.visitor))
-        self.walker.expects(once()).walk(same(objectws),same(self.post_process_visitor))
+        self.walker.expects(once()).walk(same(objectws),same(self.pre_process_visitor), same('pre_process'))
+        self.walker.expects(once()).walk(same(objectws),same(self.visitor), same('process'))
+        self.walker.expects(once()).walk(same(objectws),same(self.post_process_visitor),
same('post_process'))
         e = _Engine(
                     MockLog(),
                     self.workspace_loader,



Mime
View raw message