What steps will reproduce the problem?
mock.AMethod().AndRaise(StopIteration)
What is the expected output? What do you see instead?
The following error message is printed:
AttributeError: No values given for arguments cell groups
It's not obvious that "cell groups" are the argument names used in the
tested code, and the actual message from mox ends at "arguments". One could
imagine an even more confusing combination.
Using some punctuation would help considerably:
AttributeError: No values given for arguments: cell, groups
This is just one place I've encountered this. There might be more similar
cases in need of improvement.
Original issue reported on code.google.com by marcin.o...@gmail.com on 24 May 2010 at 12:21
Original issue reported on code.google.com by
marcin.o...@gmail.com
on 24 May 2010 at 12:21