summaryrefslogtreecommitdiff
path: root/test.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Implemented support for "getitem" and "setitem" action kinds.Gustavo Niemeyer2007-10-311-1/+38
|
* Added support for "delattr" and "contains" kinds, and finishedGustavo Niemeyer2007-10-311-3/+88
| | | | support for "setattr".
* - Now if replay() is run while already in replay mode, the mockerGustavo Niemeyer2007-10-301-54/+135
| | | | | | | | | | | | | is restored and then put back in replay mode - Implemented Mocker.reset(). - Now patch() sets the spec to the given object by default, and the new spec argument acts like usual. - Got rid of ordered(), and integrated its functionality in order() itself, when called without arguments. unordered() was renamed to unorder() for symmetry. - passthrough() now takes a result_callback argument, called with the result of the real function as the only argument. - Added setattr events in the mock.
* Replaced set_state() by replay()/restore().Gustavo Niemeyer2007-10-301-79/+85
|
* Moved it forward, most importantly implementing the patching feature.Gustavo Niemeyer2007-10-291-328/+1005
|
* Adding initial version of python-mocker to repository! It's alive!Gustavo Niemeyer2007-10-141-0/+1841