Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python312-mockito-1.5.0-1.2 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python312-mockito Distribution: openSUSE Tumbleweed
Version: 1.5.0 Vendor: openSUSE
Release: 1.2 Build date: Sat Mar 16 09:57:47 2024
Group: Unspecified Build host: reproducible
Size: 200862 Source RPM: python-mockito-1.5.0-1.2.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/kaste/mockito-python
Summary: Spying framework
Mockito is a spying framework originally based on the Java library with the same name.

Provides

Requires

License

MIT

Changelog

* Sat Mar 16 2024 Dirk Müller <dmueller@suse.com>
  - update to 1.5.0:
    * @Oracking fixed `expect` to support a string as its first
      argument.  All other functions supported that already.
* Thu Sep 29 2022 Yogalakshmi Arunachalam <yarunachalam@suse.com>
  - 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]
* Thu Apr 22 2021 Steve Kowalik <steven.kowalik@suse.com>
  - Update to 1.2.2:
    * Fix typo in ``spy2`` doc
  - Do not build for Python 3.6, due to no NumPy.
* Wed Apr 01 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 08 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 05 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 04 2018 Matej Cepl <mcepl@suse.com>
  - Remove superfluous devel dependency for noarch package
* Mon Dec 11 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 08 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 2013 speilicke@suse.com
  - Require python-setuptools instead of distribute (upstreams merged)

Files

/usr/lib/python3.12/site-packages/mockito
/usr/lib/python3.12/site-packages/mockito-1.5.0-py3.12.egg-info
/usr/lib/python3.12/site-packages/mockito-1.5.0-py3.12.egg-info/PKG-INFO
/usr/lib/python3.12/site-packages/mockito-1.5.0-py3.12.egg-info/SOURCES.txt
/usr/lib/python3.12/site-packages/mockito-1.5.0-py3.12.egg-info/dependency_links.txt
/usr/lib/python3.12/site-packages/mockito-1.5.0-py3.12.egg-info/top_level.txt
/usr/lib/python3.12/site-packages/mockito/__init__.py
/usr/lib/python3.12/site-packages/mockito/__pycache__
/usr/lib/python3.12/site-packages/mockito/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/inorder.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/inorder.cpython-312.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/invocation.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/invocation.cpython-312.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/matchers.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/matchers.cpython-312.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/mock_registry.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/mock_registry.cpython-312.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/mocking.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/mocking.cpython-312.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/mockito.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/mockito.cpython-312.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/signature.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/signature.cpython-312.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/spying.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/spying.cpython-312.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/utils.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/utils.cpython-312.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/verification.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/mockito/__pycache__/verification.cpython-312.pyc
/usr/lib/python3.12/site-packages/mockito/inorder.py
/usr/lib/python3.12/site-packages/mockito/invocation.py
/usr/lib/python3.12/site-packages/mockito/matchers.py
/usr/lib/python3.12/site-packages/mockito/mock_registry.py
/usr/lib/python3.12/site-packages/mockito/mocking.py
/usr/lib/python3.12/site-packages/mockito/mockito.py
/usr/lib/python3.12/site-packages/mockito/signature.py
/usr/lib/python3.12/site-packages/mockito/spying.py
/usr/lib/python3.12/site-packages/mockito/utils.py
/usr/lib/python3.12/site-packages/mockito/verification.py
/usr/share/doc/packages/python312-mockito
/usr/share/doc/packages/python312-mockito/AUTHORS
/usr/share/doc/packages/python312-mockito/CHANGES.txt
/usr/share/doc/packages/python312-mockito/README.rst
/usr/share/licenses/python312-mockito
/usr/share/licenses/python312-mockito/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed May 1 23:23:10 2024