summaryrefslogtreecommitdiff
path: root/tests/testmock.py
Commit message (Expand)AuthorAgeFilesLines
* Exceptions in iterable side_effect will be raisedMichael Foord2012-04-211-0/+10
* Committed failing test for picklingMichael Foord2012-04-141-0/+26
* Make __class__ assignableMichael Foord2012-03-131-0/+7
* Removing mocksignature documentationMichael Foord2012-03-131-0/+1
* Adding mock_open helperMichael Foord2012-03-131-0/+12
* mocksignature and tests removedMichael Foord2012-03-131-70/+65
* Minor doc update plus whitespace removalMichael Foord2012-02-071-1/+0
* Removing one expectedFailure and adding oneMichael Foord2012-01-031-3/+2
* Update copyright yearsMichael Foord2012-01-021-1/+1
* 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
* Fix setting a mock as its own return value,Michael Foord2011-10-071-0/+23
* Attribute deletion specified and testedMichael Foord2011-09-261-0/+15
* Calls to mocks attached as magic methods are recorded in mock callsMichael Foord2011-09-261-1/+14
* patch imports lazilyMichael Foord2011-09-251-0/+22
* Mocks set as attributes and return values are attached correctly. Calls are r...Michael Foord2011-08-111-0/+32
* Implementation of mock_add_specMichael Foord2011-08-111-10/+12
* Initial implementation of mock_add_specMichael Foord2011-08-101-0/+68
* Test improvementMichael Foord2011-08-101-77/+52
* Extend some mock_calls tests for named mocksMichael Foord2011-08-101-0/+34
* Fixes for mock_calls on intermediate mocks in a call chainMichael Foord2011-08-101-0/+23
* Fix test for mock repr moreMichael Foord2011-08-091-1/+1
* Fix test for mock reprMichael Foord2011-08-091-2/+9
* mock_calls works on functions created by mocksignatureMichael Foord2011-08-041-2/+21
* Tests for assert_any_callMichael Foord2011-08-041-10/+56
* Initial implementation of assert_any_callMichael Foord2011-08-031-1/+19
* Move assert_has_calls to MockMichael Foord2011-08-031-0/+46
* Setting to an iterable will cause calls to the mock to return the next value...Michael Foord2011-07-271-1/+64
* Fix regression in call_args and call_args_list behaviourMichael Foord2011-07-261-0/+17
* Tuples as well as lists allowed for specifying specMichael Foord2011-07-231-10/+17
* Extend _CallList testsMichael Foord2011-07-231-10/+16
* Mock method_calls and mock_calls are now CallListsMichael Foord2011-07-221-1/+36
* Extending tests for callargsMichael Foord2011-07-221-80/+1
* _CallList.assert_has_calls handles duplicate call arguments correctlyMichael Foord2011-07-221-0/+20
* Initial implementation of _CallList.assert_has_callsMichael Foord2011-07-221-3/+27
* Initial (partial) implementation of CallList for call_args_listMichael Foord2011-07-211-22/+24
* Implement __ne__ for callargs and callMichael Foord2011-07-191-0/+2
* Fix callargs call comparisonsMichael Foord2011-07-191-0/+23
* Rename _new_name and _new_parent attributesMichael Foord2011-07-181-2/+0
* reset_mock includes mock_callsMichael Foord2011-07-181-1/+2
* Test for overriding _get_child_mock in subclassesMichael Foord2011-07-181-0/+17
* Tests for call_listMichael Foord2011-07-181-14/+6
* Addition of 'call_list' method to call for chained call assertionsMichael Foord2011-07-181-1/+4
* Extending test for mock_calls and callMichael Foord2011-07-181-1/+0
* Extending call for mock_callsMichael Foord2011-07-181-0/+2
* Initial implementation of mock_callsMichael Foord2011-07-181-13/+43
* Start extending a test for mock_callsMichael Foord2011-07-171-0/+5
* Improved failure messages for the mock assert methodsMichael Foord2011-07-171-3/+73
* Support for java exceptions on JythonMichael Foord2011-07-161-0/+16
* Fix bugs around methods / functions using self as an arbitrary argumentMichael Foord2011-06-201-4/+4