forked from pool/python-mockito
- version update to 1.2.1 - @nielsvaneck fixed how we can lookup inherited classmethods. - Code base now is python 3 compatible. No 2to3 anymore. - Fine tune error messages on unexpected calls or verifications. - @felixonmars fixed a small compatibility issue with python 3.8 - Mocking properties has become a bit easier. (#26) OBS-URL: https://build.opensuse.org/request/show/790462 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mockito?expand=0&rev=15
86 lines
3.9 KiB
Plaintext
86 lines
3.9 KiB
Plaintext
-------------------------------------------------------------------
|
|
Wed Apr 1 07:13:22 UTC 2020 - pgajdos@suse.com
|
|
|
|
- version update to 1.2.1
|
|
- @nielsvaneck fixed how we can lookup inherited classmethods.
|
|
- Code base now is python 3 compatible. No 2to3 anymore.
|
|
- Fine tune error messages on unexpected calls or verifications.
|
|
- @felixonmars fixed a small compatibility issue with python 3.8
|
|
- Mocking properties has become a bit easier. (#26)
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Apr 8 08:58:08 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
- Disable python3 building as the mockito is py2 only (git master
|
|
is py3 compatible so hopefully next release should be supported)
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Apr 5 12:38:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
- Update to 1.1.1:
|
|
* Added forget_invocations function. Thanks to @maximkulkin
|
|
* Fix: The context manager (with) has now a proper implementation
|
|
* Fix: Calling patch with two arguments can now be used with with
|
|
* Fix: Do not treat the placeholder arguments (Ellipsis, args, kwargs) as special on call time anymore. (T.i. they only have a meaning when stubbing or verifying.)
|
|
* Enhancement: Changed some truthy or equality tests to identity (is) tests. This reduces edge-cases where some user object defines __eq__ or __bool__. (Hello _numpy_!)
|
|
- Run tests
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Dec 4 12:50:25 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- Remove superfluous devel dependency for noarch package
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Dec 11 19:47:18 UTC 2017 - sebix+novell.com@sebix.at
|
|
|
|
- update to version 1.0.12
|
|
* see CHANGES.txt for a detailed changelog
|
|
* changes in version 1.0.12:
|
|
- Better error messages for failed verifications.
|
|
* changes in version 1.0.7 - 1.0.10
|
|
- ``verifyZeroInteractions`` implemented. This is actually a *breaking change*, because ``verifyZeroInteractions`` was an alias for ``verifyNoMoreInteractions`` (sic!).
|
|
- All `verify*` functions now warn you if you pass in an object which was never stubbed.
|
|
* changes in version 1.0.0 - 1.0.5
|
|
- mockito's strict mode is far more strict than before
|
|
- ``mock``, ``when``, ``verify`` return mostly empty objects. It is unlikely to have a method_name clash.
|
|
- ``Mock()`` is now an implementation detail; it is **not** exported anymore. Use ``mock()``.
|
|
* changes in version 0.7.1:
|
|
- bugfixes
|
|
* changes in version 0.7.0:
|
|
- bugfixes
|
|
* changes in version 0.6.1:
|
|
- Added ``thenAnswer(callable)``. The callable will be called to compute the answer the stubbed method will return. For that it will receive the arguments of the caller.
|
|
* changes in version 0.6.0:
|
|
- Breaking change: Throw early when calling not expected methods in strict mode.
|
|
* changes in version 0.5.3:
|
|
- Remove hard coded distribute setup files.
|
|
- Remove no longer needed patch python-mockito-0.5.2-setup.py.patch
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Dec 8 16:15:34 UTC 2013 - p.drouand@gmail.com
|
|
|
|
- Update to version 0.5.2
|
|
+ No changelog available
|
|
- Remove redundant %clean section
|
|
- Adapt setup.py.patch to upstream changes
|
|
- Rename it to respect standard naming conventions
|
|
- Remove python-mockito.rpmlintrc; problem of execution bits have
|
|
been fixed by upstream
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Oct 24 11:08:52 UTC 2013 - speilicke@suse.com
|
|
|
|
- Require python-setuptools instead of distribute (upstreams merged)
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Jul 18 16:48:26 UTC 2013 - berendt@b1-systems.de
|
|
|
|
- added python-mockito.rpmlintrc
|
|
- added setup.py.patch to make package buildable on SLES11 SP3
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Jul 18 12:14:57 CEST 2013 - berendt@b1-systems.de
|
|
|
|
- added missing python-mockito.changes file
|
|
- cleaning up the SPEC
|