| Commit message (Expand) | Author | Age | Files | Lines |
* | Applied change suggested by David Glick to avoid reimporting modules (#529675). | Gustavo Niemeyer | 2010-06-20 | 1 | -1/+2 |
* | Changed license to BSD, since the PSF license only applies to Python | Gustavo Niemeyer | 2010-06-20 | 1 | -4/+32 |
* | Updated NEWS file. | Gustavo Niemeyer | 2010-06-19 | 1 | -0/+2 |
* | Fixed support for Python 2.6. Mocking of iterators was broken in | Gustavo Niemeyer | 2010-06-19 | 1 | -0/+2 |
* | __nonzero__ should necessarily return a boolean value, so transform Mock | Gustavo Niemeyer | 2010-03-15 | 1 | -1/+4 |
* | Merged 328990-mocker-hides-exception branch from Duncan McGreggor. This | Gustavo Niemeyer | 2009-02-13 | 1 | -1/+2 |
|\ |
|
| * | - Added a new unit test to check for a bug in mocker where the original | Duncan McGreggor | 2009-02-13 | 1 | -1/+2 |
|/ |
|
* | Merging branch from Thomas which changes Mocker.patch() to use the | Gustavo Niemeyer | 2008-07-01 | 1 | -1/+1 |
|\ |
|
| * | Use the version that passes the landscape tests. Add a test for one of the fix. | Thomas Hervé | 2008-06-30 | 1 | -1/+2 |
* | | Prevent the MockerTestCase base from leaving the mocker in replay mode | Gustavo Niemeyer | 2008-07-01 | 1 | -0/+1 |
|/ |
|
* | A couple of changes to better accomodate py3k changes. | Gustavo Niemeyer | 2008-03-28 | 1 | -2/+2 |
* | When cleaning up on MockerTestCase, use reset() rather than restore(), | Gustavo Niemeyer | 2008-03-28 | 1 | -1/+1 |
* | Fixed patching of objects which define __getattr__.0.10.1 | Gustavo Niemeyer | 2007-12-11 | 1 | -3/+25 |
* | Preparing to release 0.10.0.10 | Gustavo Niemeyer | 2007-12-09 | 1 | -1/+1 |
* | Orderer() is now implemented based on may_run() instead of matches(). | Gustavo Niemeyer | 2007-12-09 | 1 | -12/+16 |
* | Introduced {Task,Event}.may_run() to improve replaying ordering | Gustavo Niemeyer | 2007-12-09 | 1 | -6/+40 |
* | When the expression executed isn't exactly the same as the | Gustavo Niemeyer | 2007-12-09 | 1 | -7/+13 |
* | Fixed problem when requesting order on similar expressions. The | Gustavo Niemeyer | 2007-12-09 | 1 | -7/+11 |
* | MockerTestCase.makeFile() with content=None (the default) now | Gustavo Niemeyer | 2007-12-07 | 1 | -7/+7 |
* | New 'path' option to MockerTestCase.makeFile() and makeDir(), | Gustavo Niemeyer | 2007-12-05 | 1 | -11/+16 |
* | New MATCH() argument matcher, which allows using a function | Gustavo Niemeyer | 2007-12-05 | 1 | -1/+11 |
* | Implemented MockerTestCase.addCleanup(). It allows one to | Gustavo Niemeyer | 2007-12-05 | 1 | -11/+24 |
* | Now when a spec is provided (or with proxy/replace/patch) the | Gustavo Niemeyer | 2007-12-04 | 1 | -0/+4 |
* | MockerTestCase now verifies if the mocker is put in replay | Gustavo Niemeyer | 2007-12-04 | 1 | -1/+7 |
* | Implemented support for Deferred results as understood by | Gustavo Niemeyer | 2007-12-04 | 1 | -6/+16 |
* | In MockerTestCase's constructor, copy attributes from the original method | Gustavo Niemeyer | 2007-12-04 | 1 | -1/+6 |
* | Break the import of sets for Python 2.3 and add pragma: nocover | Gustavo Niemeyer | 2007-11-24 | 1 | -2/+2 |
* | Preparing to release 0.9.3.0.9.3 | Gustavo Niemeyer | 2007-11-24 | 1 | -1/+1 |
* | - Added support for Python 2.3 (patch by Phillip J. Eby). | Gustavo Niemeyer | 2007-11-24 | 1 | -21/+42 |
* | Introduced automatic test coverage verification, and covered the | Gustavo Niemeyer | 2007-11-23 | 1 | -11/+3 |
* | Updated version to 0.9.2.0.9.2 | Gustavo Niemeyer | 2007-11-22 | 1 | -1/+1 |
* | Now Mocker.mock()/proxy()/replace() accept a 'count' keyword | Gustavo Niemeyer | 2007-11-22 | 1 | -9/+21 |
* | In recording mode, mock.__class__ will now return Mock, and not | Gustavo Niemeyer | 2007-11-22 | 1 | -3/+4 |
* | Fixed setup.py to install mocker.py properly.0.9.1 | Gustavo Niemeyer | 2007-11-18 | 1 | -1/+1 |
* | Preparing to release version 0.9.0.9 | Gustavo Niemeyer | 2007-11-17 | 1 | -1/+1 |
* | Added MockerTestCase.assert[Not]{Starts,Ends}With(). | Gustavo Niemeyer | 2007-11-17 | 1 | -0/+28 |
* | Added MockerTestCase.assertMethodsMatch(). It will verify if all | Gustavo Niemeyer | 2007-11-17 | 1 | -0/+34 |
* | Implemented state resetting on replay() for RunCounter and Orderer. | Gustavo Niemeyer | 2007-11-13 | 1 | -0/+6 |
* | When using an unexistent import path for Mocker.proxy(), raise an | Gustavo Niemeyer | 2007-11-13 | 1 | -2/+9 |
* | Mocker.on_restore() removed. Restore isn't performed if replay() | Gustavo Niemeyer | 2007-11-12 | 1 | -8/+0 |
* | New MockerTestCase.makeFile() and .makeDir() helpers. They offer | Gustavo Niemeyer | 2007-11-12 | 1 | -0/+53 |
* | Added some meta-information to the mocker module. | Gustavo Niemeyer | 2007-11-11 | 1 | -0/+10 |
* | Minor change in Mocker's docstring. | Gustavo Niemeyer | 2007-11-11 | 1 | -6/+6 |
* | Moved "string proxying" logic out of replace() and into proxy(). | Gustavo Niemeyer | 2007-11-11 | 1 | -16/+16 |
* | Fixed SpecChecker to not break with callables not supported by | Gustavo Niemeyer | 2007-11-11 | 1 | -6/+14 |
* | Implemented delitem action kind. | Gustavo Niemeyer | 2007-11-11 | 1 | -0/+12 |
* | - Implemented MockerTestCase. | Gustavo Niemeyer | 2007-11-11 | 1 | -21/+146 |
* | Implemented Mocker.generate(). | Gustavo Niemeyer | 2007-11-04 | 1 | -0/+6 |
* | Implemented len, iter and nonzero action kinds. | Gustavo Niemeyer | 2007-11-04 | 1 | -1/+41 |
* | Implemented support for "getitem" and "setitem" action kinds. | Gustavo Niemeyer | 2007-10-31 | 1 | -0/+15 |