Open GoogleCodeExporter opened 8 years ago
Original comment by smidd...@gmail.com
on 25 Sep 2009 at 8:33
Here is a patch that tries to implement the feature described.
To apply it: patch < pymox.patch, from the root of the mox directory.
When MockMethod records a call or an expectation, it normalizes the arguments
into a map or named arguments.
The comparison of two MockMethod then compares the normalized arguments maps
instead or the pair (position arguments, named arguments).
Cheers,
Christophe
Original comment by ta...@google.com
on 8 Jun 2010 at 8:33
Attachments:
Here is a new patch taking into account most of your comments.
I am not sure how the equal operator should be implemented so I left it.
Original comment by ta...@google.com
on 15 Jun 2010 at 10:07
Attachments:
I'm looking at this now. Do you have some tests to verify this new behavior is
correct.
Original comment by steve.mi...@gmail.com
on 15 Jun 2010 at 9:03
Sure, I added a test case for this behavior.
Original comment by ta...@google.com
on 21 Jun 2010 at 10:01
Attachments:
Original issue reported on code.google.com by
smidd...@gmail.com
on 25 Sep 2009 at 8:28