Revisions of python-mockito

buildservice-autocommit accepted request 1158396 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 22)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 21)
- update to 1.5.0:
  * @Oracking fixed `expect` to support a string as its first
    argument.  All other functions supported that already.
    assert arg.all_values == [123, 456]
- Do not build for Python 3.6, due to no NumPy.
  - Fine tune error messages on unexpected calls or verifications.
- Remove python-mockito.rpmlintrc; problem of execution bits have
buildservice-autocommit accepted request 1007057 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 20)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 1007025 from Yogalakshmi Arunachalam's avatar Yogalakshmi Arunachalam (yarunachalam) (revision 19)
- Release 1.4.0 (August 25, 2022)
  - @avandierast implemented `thenCallOriginalImplementation`.  See #60
    # Let `os.path.exists` use the real filesystem (often needed when
    # the testing framework needs itself a working `os.path.exists`
    # implementation) *but* fake a `.flake8` file.
    when(os.path).exists(...).thenCallOriginalImplementation()
    when(os.path).exists('.flake8').thenReturn(True)
- Release 1.3.5 (August 18, 2022)
  - Restore compatibility with Python 2.7
- Release 1.3.3 (June 23, 2022)
  - Hotfix: Correctly unstub methods extracted to the module level, for example ``random.randint()`` et.al. from the standard library.  See #53
- Release 1.3.2 (June 23, 2022)
  - Let `mock(spec=SomeClass)` work just as `mock(SomeClass)`
- Release 1.3.1 (June 14, 2022)
  - Reimplement `captor` to capture only during execution phase of a test.
- Release 1.3.0 (December 3, 2021)
  - Teach `captor` to remember all used values (@shashankrnr32). E.g.
    arg = captor()
    mock.do_something(123)
    mock.do_something(456)
    verify(mock).do_something(arg)
    assert arg.all_values == [123, 456]
buildservice-autocommit accepted request 887439 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 18)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 17)
- Update to 1.2.2:
  * Fix typo in ``spy2`` doc
- Do not build for Python 3.6, due to no NumPy.
buildservice-autocommit accepted request 790480 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 16)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 790462 from Petr Gajdos's avatar Petr Gajdos (pgajdos) (revision 15)
- 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)
buildservice-autocommit accepted request 692235 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 14)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) committed (revision 13)
- Disable python3 building as the mockito is py2 only (git master
  is py3 compatible so hopefully next release should be supported)
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) committed (revision 12)
- 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
buildservice-autocommit accepted request 659495 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 11)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 10)
Remove superfluous devel dependency for noarch package
buildservice-autocommit accepted request 556388 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 9)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) committed (revision 8)
- Remove no longer needed patch python-mockito-0.5.2-setup.py.patch
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 556077 from Sebastian Wagner's avatar Sebastian Wagner (sebix) (revision 7)
- update to version 1.0.12
buildservice-autocommit accepted request 209842 from Denisart Benjamin's avatar Denisart Benjamin (posophe) (revision 6)
baserev update by copy to link target
Denisart Benjamin's avatar Denisart Benjamin (posophe) accepted request 209841 from Denisart Benjamin's avatar Denisart Benjamin (posophe) (revision 5)
- 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
buildservice-autocommit accepted request 204598 from Sascha Peilicke's avatar Sascha Peilicke (saschpe) (revision 4)
baserev update by copy to link target
Sascha Peilicke's avatar Sascha Peilicke (saschpe) committed (revision 3)
- Require python-setuptools instead of distribute (upstreams merged)
Displaying revisions 1 - 20 of 22
openSUSE Build Service is sponsored by