Mockito

Latest version: v1.5.3

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

0.6.0

------------------------------

- Print keyword arguments nicely.
- Be very forgiving about return values and assume None as default. T.i. ``when(Dog).bark('Miau').thenReturn()`` is enough to return None.
- Make keyword argument order unimportant.
- BREAKING CHANGE: Throw early when calling not expected methods in strict mode.

0.5.3

------------------------------

- Remove hard coded distribute setup files.

0.5.1

------------------------------
BUG Fixes:
- Fixed issue 9 [http://bitbucket.org/szczepiq/mockito-python/issue/9] : Generating stubs from classes caused method to be replaced in original classes.

0.5.0

-----------------------------
API Changes:
- Added possibility to spy on real objects.
- Added "never" syntactic sugar for verifications.

BUG Fixes:
- Fixed issue with named arguments matching.

Other Changes:
- Python 2.7 support
- Deprecated APIs now generate deprecation warnings.

0.4.0

----------------------------
API Changes:
- Added possibility to verify invocations in order.

BUG Fixes:
- Fixed issue with installing mockito from egg without distribute installed.

0.3.1

-------------
Bug-fix release.

Bug Fixes:
- Fixed annoying issue 8 [http://bitbucket.org/szczepiq/mockito-python/issue/8]

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.