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

python3-pytest-mock-2.0.0-lp152.1.1 RPM for noarch

From OpenSuSE Leap 15.2 for noarch

Name: python3-pytest-mock Distribution: openSUSE Leap 15.2
Version: 2.0.0 Vendor: openSUSE
Release: lp152.1.1 Build date: Tue Apr 28 20:29:49 2020
Group: Unspecified Build host: build78
Size: 65710 Source RPM: python-pytest-mock-2.0.0-lp152.1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/pytest-dev/pytest-mock
Summary: Thin-wrapper around the mock package for easier use with pytest
This plugin installs a ``mocker`` fixture which is a thin-wrapper around the patching API
provided by the `mock` package,
but with the benefit of not having to worry about undoing patches at the end
of a test

Provides

Requires

License

MIT

Changelog

* Fri Mar 27 2020 Tomáš Chvátal <tchvatal@suse.com>
  - Skip 2 more tests that have fixtures adapted for mock 2.0 output
* Mon Jan 06 2020 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 2.0.0:
    * mocker.spy attributes for tracking returned values and raised
      exceptions of its spied functions are now called spy_return
      and spy_exception, instead of reusing the existing MagicMock
      attributes return_value and side_effect.
    * The deprecated mock alias to the mocker fixture has finally
      been removed.
* Wed Dec 04 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 1.12.1:
    * Fix error if mocker.patch is used in code where the source file
      is not available, for example stale .pyc files
    * Now all patch functions also raise a ValueError when used as a
      context-manager
* Sat Nov 16 2019 Hans-Peter Jansen <hpj@urpla.net>
  - Disable current failing tests
    see: https://github.com/pytest-dev/pytest-mock/issues/167
    boils done to an issue of pytest
* Tue Nov 05 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 1.11.2:
    * The pytest introspection follows message is no longer shown
      if there is no pytest introspection (#154)
    * mocker now raises a ValueError when used as a context-manager
* Mon Oct 07 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 1.11.1:
    * Fix mocker.spy on Python 2 when used on non-function objects
      which implement __call__ (#157).
* Mon Sep 30 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 1.11.0:
    * The object returned by mocker.spy now also tracks the return
      value of the spied method/function.
  - Drop merged patch mock3.patch and fix_tests.patch
* Wed Sep 11 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Add back the mock 3.0 patch as the mock is being integrated now:
    * mock3.patch
* Fri Jul 26 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Remove mock30.patch for now as we are not able to upgrade
    to mock3 yet
* Thu Jul 18 2019 Ondřej Súkup <mimi.vx@gmail.com>
  - add upstream patch to test with pytest5 - fix_tests.patch
* Wed May 15 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Add patch from upstream to build with new mock:
    * mock30.patch
* Mon Apr 29 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 1.10.4:
    * Fix plugin when 'terminal' plugin is disabled
* Mon Apr 01 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 1.10.3:
    * Fix test suite in Python 3.8. Thanks @hroncok for the report and @blueyed for the PR (#140).
* Tue Mar 26 2019 John Vandenberg <jayvdb@gmail.com>
  - Update to v1.10.2
    * Fix bug at the end of the test session when a call to
      patch.stopall is done explicitly by user code.
* Wed Feb 13 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 1.10.1:
    * Fix broken links and update README. Also the code is now formatted using black.
* Sun May 06 2018 arun@gmx.de
  - update to version 1.10.0:
    * Add support for the recently added assert_called method in Python
      3.6 and mock-2.0. Thanks @rouge8 for the PR (#115).
* Sat Apr 21 2018 arun@gmx.de
  - update to version 1.9.0:
    * Add support for the recently added assert_called_once method in
      Python 3.6 and mock-2.0. Thanks @rouge8 for the PR (#113).
  - changes from version 1.8.0:
    * Add aliases for NonCallableMock and create_autospec to
      mocker. Thanks @mlhamel for the PR (#111).
* Sat Mar 03 2018 mimi.vx@gmail.com
  - update to 1.7.1
    * fix reading README.rst in setup.py
* Fri Mar 02 2018 chris@computersalat.de
  - fix deps for setuptools
* Thu Mar 01 2018 mimi.vx@gmail.com
  - update to 1.7.0
    * Drop support for python-2.6 and python-3.3
* Thu Jan 11 2018 tchvatal@suse.com
  - Fix building with python3 only available
  - Install properly license file/etc
* Wed Oct 11 2017 mpluskal@suse.com
  - Update to version 1.6.3:
    * Fix UnicodeDecodeError during assert introspection in
      assert_called_with in Python 2.
    * Provide source package in tar.gz format and remove obsolete
      MANIFEST.in.
    * Fix mocker.resetall() by ignoring mocker objects which don't
      have a resetall method, like for example patch.dict
* Fri Aug 11 2017 tbechtold@suse.com
  - Remove python-virtualenv BuildRequires and simplify test
    execution
* Wed Apr 05 2017 jmatejek@suse.com
  - update to 1.6.0
    * original assertions now appear in failure message
  - shorten summary
  - add requirements on mock and pytest
  - enable tests
* Thu Mar 09 2017 okurz@suse.com
  - Initial singlespec submission

Files

/usr/lib/python3.6/site-packages/pytest_mock
/usr/lib/python3.6/site-packages/pytest_mock-2.0.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/pytest_mock-2.0.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/pytest_mock-2.0.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/pytest_mock-2.0.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/pytest_mock-2.0.0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/pytest_mock-2.0.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/pytest_mock-2.0.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/pytest_mock/__init__.py
/usr/lib/python3.6/site-packages/pytest_mock/__pycache__
/usr/lib/python3.6/site-packages/pytest_mock/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pytest_mock/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/pytest_mock/__pycache__/_version.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pytest_mock/__pycache__/_version.cpython-36.pyc
/usr/lib/python3.6/site-packages/pytest_mock/__pycache__/plugin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/pytest_mock/__pycache__/plugin.cpython-36.pyc
/usr/lib/python3.6/site-packages/pytest_mock/_version.py
/usr/lib/python3.6/site-packages/pytest_mock/plugin.py
/usr/share/doc/packages/python3-pytest-mock
/usr/share/doc/packages/python3-pytest-mock/CHANGELOG.rst
/usr/share/licenses/python3-pytest-mock
/usr/share/licenses/python3-pytest-mock/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Jul 9 11:27:19 2024