LeastAuthority / leastbot

0 stars 0 forks source link

``MockingTestCase.patch`` fails to track the resulting mock for the ``MockingTestCase.reset_mocks`` feature. #8

Closed nathan-at-least closed 10 years ago

nathan-at-least commented 10 years ago

The mock created in mockutil.py line 13 is simply returned without adding it to self._mock_set which is required for MockingTestCase.reset_mocks() as seen in mockutil.py line 20.

nathan-at-least commented 10 years ago

The given commit is now on master, so this ticket is closed.