summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Proper compatibility with functools.wrapsMichael Foord2012-11-071-0/+6
|
* Add __wrapped__ to functions decorated with patch variantsMichael Foord2012-11-051-0/+19
|
* Adding patch.stopall methodMichael Foord2012-06-101-0/+19
|
* reset_mock now resets magic method mocksMichael Foord2012-06-091-0/+8
|
* MagicMock.reset_mock on an autospec created mock no longer crashesMichael Foord2012-06-091-0/+7
|
* Support keyword only arguments in Python 3Michael Foord2012-04-211-0/+14
|
* Exceptions in iterable side_effect will be raisedMichael Foord2012-04-211-0/+10
|
* Committed failing test for picklingMichael Foord2012-04-141-0/+26
|
* Move test and update code commentMichael Foord2012-04-131-15/+15
|
* create_autospec now works with attributes that can't be fetchedMichael Foord2012-04-131-0/+23
|
* PropertyMock attributes and return values are standard MagicMocksMichael Foord2012-04-131-0/+11
|
* A mock created by patch with a spec as the list argument will be callable if ↵Michael Foord2012-03-251-1/+21
| | | | __call__ is in the spec
* Minor cleanupsMichael Foord2012-03-251-6/+3
|
* Some test fixes to always clean up patchesMichael Foord2012-03-251-5/+6
|
* Fix various bugs around spec arguments to patchersMichael Foord2012-03-251-6/+57
|
* Make using create=True with spec=True in patchers an errorMichael Foord2012-03-251-0/+15
|
* Propagate exception info in _patch.__exit__Michael Foord2012-03-201-2/+32
|\
| * Propogate exceptions in _patch.__exit__()Kumar McMillan2012-03-141-2/+33
| | | | | | | | Fixes issue 141
* | Change comparison methods on MagicMock to return NotImplementedMichael Foord2012-03-171-0/+13
| |
* | Adding PropertyMockMichael Foord2012-03-131-1/+18
| |
* | Make __class__ assignableMichael Foord2012-03-131-0/+7
| |
* | Removing mocksignature documentationMichael Foord2012-03-133-45/+58
| |
* | Adding mock_open helperMichael Foord2012-03-132-2/+58
| |
* | mocksignature and tests removedMichael Foord2012-03-135-449/+93
| |
* | Restore expectedFailure around testMichael Foord2012-03-131-0/+1
| |
* | Removed failing test for spec inheritance - should not be on by defaultrelease-0.8-maintMichael Foord2012-03-081-13/+0
| |
* | Failing test for create_autospec and unbound methodsMichael Foord2012-03-041-3/+6
| |
* | Failing test and changelog entry for spec inheritanceMichael Foord2012-03-031-0/+13
|/
* Improvement to handing of MagicMock.__iter__ return value.Michael Foord2012-02-121-0/+10
|
* Minor doc update plus whitespace removalMichael Foord2012-02-075-8/+5
|
* Fix ANY comparisons with call objectsMichael Foord2012-01-221-0/+9
|
* Doc updatesMichael Foord2012-01-151-1/+1
| | | | Improved repr for sentinel objects
* Extended test for ANYMichael Foord2012-01-101-12/+21
|
* Extended test for ANYMichael Foord2012-01-101-0/+16
|
* Fix ANY equality with some types in assert_called_with callsMichael Foord2012-01-101-0/+9
|
* Removing one expectedFailure and adding oneMichael Foord2012-01-032-3/+3
|
* Note and expectedFailure test for autospec and unbound methodsMichael Foord2012-01-031-0/+12
|
* Update copyright yearsMichael Foord2012-01-029-9/+9
|
* return_value (etc) arguments to patch work with autospec (again)Michael Foord2011-12-301-0/+11
|
* Remove 'configure' keyword argument from create_autospec and accept ↵Michael Foord2011-12-301-0/+20
| | | | arbitrary keyword arguments
* Use weakrefs to avoid circular referencesMichael Foord2011-10-291-0/+6
|
* Further performance improvements instantiating MagicMockMichael Foord2011-10-291-0/+2
|
* Performance improvement instantiating MagicMock,Michael Foord2011-10-291-0/+6
| | | | Magic methods of mocks are no longer hard coded to MagicMock
* Extending test for create_autospec and non-callable instancesMichael Foord2011-10-121-0/+17
|
* create_autospec uses __call__ method for the signature of mocks that are the ↵Michael Foord2011-10-111-0/+4
| | | | return value of classes
* Documentation update and failing test for create_autospecMichael Foord2011-10-111-0/+5
|
* Minor test changeMichael Foord2011-10-091-0/+1
|
* Extend test for patch 'lazy importing'Michael Foord2011-10-091-0/+10
|
* Implementation of attach_mockMichael Foord2011-10-091-0/+32
|
* Setting a mock as a return value of itself no longer modifies repr of the mockMichael Foord2011-10-081-7/+14
|