| Commit message (Expand) | Author | Age | Files | Lines |
* | Introduced the more natural reading assertIsNotInstance(). | Gustavo Niemeyer | 2010-09-18 | 1 | -0/+4 |
* | Added assertRaisesRegexp() to MockerTestCase. It works similarly to | Gustavo Niemeyer | 2010-09-18 | 1 | -0/+104 |
* | - Implemented support for assertRaises() as a context manager, as in | Gustavo Niemeyer | 2010-09-18 | 1 | -0/+103 |
* | Tasks now have a may_run_user_code() method, which is used for tasks which | Gustavo Niemeyer | 2010-09-18 | 1 | -16/+109 |
* | Minor cleanups in the test suite. | Gustavo Niemeyer | 2010-09-18 | 1 | -9/+3 |
* | mocker.call() now supports a with_object argument. If True, the called | Gustavo Niemeyer | 2010-07-29 | 1 | -0/+62 |
* | MockerTestCase.assertRaises() will now return the exception raised, | Gustavo Niemeyer | 2010-06-20 | 1 | -0/+37 |
|\ |
|
| * | Return exception in failUnlessRaises, test it. | Thomas Hervé | 2008-11-19 | 1 | -0/+37 |
* | | Fixed support for MockerTestCase.addCleanup() in Python 2.3, | Gustavo Niemeyer | 2010-06-20 | 1 | -0/+38 |
* | | Unwrap bound methods on replace() and proxy(), as suggested | Gustavo Niemeyer | 2010-06-20 | 1 | -0/+12 |
* | | Use the more reliable expect() automatically with MockerTestCase. | Gustavo Niemeyer | 2010-06-20 | 1 | -1/+6 |
* | | Implemented Expect helper, which allows creating a new expect() | Gustavo Niemeyer | 2010-06-20 | 1 | -1/+8 |
* | | Fixed support for Python 2.6. Mocking of iterators was broken in | Gustavo Niemeyer | 2010-06-19 | 1 | -1/+20 |
* | | __nonzero__ should necessarily return a boolean value, so transform Mock | Gustavo Niemeyer | 2010-03-15 | 1 | -0/+4 |
* | | Merged 328990-mocker-hides-exception branch from Duncan McGreggor. This | Gustavo Niemeyer | 2009-02-13 | 1 | -0/+15 |
|\ \
| |/
|/| |
|
| * | - Added a new unit test to check for a bug in mocker where the original | Duncan McGreggor | 2009-02-13 | 1 | -0/+14 |
|/ |
|
* | Moved the __mocker_mock__ cleaning up test from Patcher into its | Gustavo Niemeyer | 2008-07-01 | 1 | -2/+8 |
* | Merging branch from Thomas which changes Mocker.patch() to use the | Gustavo Niemeyer | 2008-07-01 | 1 | -0/+2 |
|\ |
|
| * | Use the version that passes the landscape tests. Add a test for one of the fix. | Thomas Hervé | 2008-06-30 | 1 | -0/+2 |
* | | Prevent the MockerTestCase base from leaving the mocker in replay mode | Gustavo Niemeyer | 2008-07-01 | 1 | -0/+27 |
|/ |
|
* | When cleaning up on MockerTestCase, use reset() rather than restore(), | Gustavo Niemeyer | 2008-03-28 | 1 | -0/+11 |
* | Fixed patching of objects which define __getattr__.0.10.1 | Gustavo Niemeyer | 2007-12-11 | 1 | -1/+49 |
* | Orderer() is now implemented based on may_run() instead of matches(). | Gustavo Niemeyer | 2007-12-09 | 1 | -15/+47 |
* | Introduced {Task,Event}.may_run() to improve replaying ordering | Gustavo Niemeyer | 2007-12-09 | 1 | -15/+75 |
* | When the expression executed isn't exactly the same as the | Gustavo Niemeyer | 2007-12-09 | 1 | -0/+26 |
* | Fixed problem when requesting order on similar expressions. The | Gustavo Niemeyer | 2007-12-09 | 1 | -6/+20 |
* | MockerTestCase.makeFile() with content=None (the default) now | Gustavo Niemeyer | 2007-12-07 | 1 | -1/+6 |
* | New 'path' option to MockerTestCase.makeFile() and makeDir(), | Gustavo Niemeyer | 2007-12-05 | 1 | -4/+28 |
* | New MATCH() argument matcher, which allows using a function | Gustavo Niemeyer | 2007-12-05 | 1 | -2/+14 |
* | Implemented MockerTestCase.addCleanup(). It allows one to | Gustavo Niemeyer | 2007-12-05 | 1 | -9/+18 |
* | Now when a spec is provided (or with proxy/replace/patch) the | Gustavo Niemeyer | 2007-12-04 | 1 | -0/+18 |
* | MockerTestCase now verifies if the mocker is put in replay | Gustavo Niemeyer | 2007-12-04 | 1 | -0/+20 |
* | Implemented support for Deferred results as understood by | Gustavo Niemeyer | 2007-12-04 | 1 | -0/+41 |
* | In MockerTestCase's constructor, copy attributes from the original method | Gustavo Niemeyer | 2007-12-04 | 1 | -0/+9 |
* | - Added support for Python 2.3 (patch by Phillip J. Eby). | Gustavo Niemeyer | 2007-11-24 | 1 | -42/+54 |
* | Introduced automatic test coverage verification, and covered the | Gustavo Niemeyer | 2007-11-23 | 1 | -1/+82 |
* | Now Mocker.mock()/proxy()/replace() accept a 'count' keyword | Gustavo Niemeyer | 2007-11-22 | 1 | -1/+26 |
* | In recording mode, mock.__class__ will now return Mock, and not | Gustavo Niemeyer | 2007-11-22 | 1 | -4/+20 |
* | Added MockerTestCase.assert[Not]{Starts,Ends}With(). | Gustavo Niemeyer | 2007-11-17 | 1 | -0/+120 |
* | Added MockerTestCase.assertMethodsMatch(). It will verify if all | Gustavo Niemeyer | 2007-11-17 | 1 | -0/+62 |
* | Implemented state resetting on replay() for RunCounter and Orderer. | Gustavo Niemeyer | 2007-11-13 | 1 | -0/+36 |
* | When using an unexistent import path for Mocker.proxy(), raise an | Gustavo Niemeyer | 2007-11-13 | 1 | -0/+3 |
* | Mocker.on_restore() removed. Restore isn't performed if replay() | Gustavo Niemeyer | 2007-11-12 | 1 | -10/+0 |
* | New MockerTestCase.makeFile() and .makeDir() helpers. They offer | Gustavo Niemeyer | 2007-11-12 | 1 | -1/+95 |
* | Moved "string proxying" logic out of replace() and into proxy(). | Gustavo Niemeyer | 2007-11-11 | 1 | -0/+16 |
* | Fixed SpecChecker to not break with callables not supported by | Gustavo Niemeyer | 2007-11-11 | 1 | -0/+23 |
* | Implemented delitem action kind. | Gustavo Niemeyer | 2007-11-11 | 1 | -0/+18 |
* | - Implemented MockerTestCase. | Gustavo Niemeyer | 2007-11-11 | 1 | -32/+338 |
* | Implemented Mocker.generate(). | Gustavo Niemeyer | 2007-11-04 | 1 | -0/+10 |
* | Implemented len, iter and nonzero action kinds. | Gustavo Niemeyer | 2007-11-04 | 1 | -7/+112 |