gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r159167 - gump/branches/Gump3/pygump/python/gump/test/testEngine.py
Date Sun, 27 Mar 2005 18:41:35 GMT
Author: leosimons
Date: Sun Mar 27 10:41:35 2005
New Revision: 159167

URL: http://svn.apache.org/viewcvs?view=rev&rev=159167
Log:
I have no idea where this bug was re-introduced (maybe it has to do with a different pmock
or python version, I dunno), but the name verify() on the verifier object clashes with the
verify() that pmock uses itself. This meant that I had to replace the mock_verifier that pmock
supplied with a custom class that did the same thing. However, I managed to only half-remove
the original pmock-based verify-the-verifier line and that resulted in a failing testcase.

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?view=diff&r1=159166&r2=159167
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testEngine.py (original)
+++ gump/branches/Gump3/pygump/python/gump/test/testEngine.py Sun Mar 27 10:41:35 2005
@@ -222,7 +222,6 @@
         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.workspace_verifier.expects(once()).verify(same(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))



Mime
View raw message