Commit Graph

17 Commits

Author SHA256 Message Date
Tomáš Chvátal
abc8e44210 - 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

- Update to 1.11.1:
  * Fix mocker.spy on Python 2 when used on non-function objects
    which implement __call__ (#157).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=18
2019-11-05 10:53:59 +00:00
Tomáš Chvátal
24f04b847b - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=16
2019-09-30 12:24:55 +00:00
Tomáš Chvátal
994534d7c5 - Add back the mock 3.0 patch as the mock is being integrated now:
* mock3.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=14
2019-09-11 08:21:53 +00:00
Tomáš Chvátal
32a128e74c - Remove mock30.patch for now as we are not able to upgrade
to mock3 yet

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=12
2019-07-26 12:27:26 +00:00
5c4df46496 - add upstream patch to test with pytest5 - fix_tests.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=11
2019-07-18 08:53:17 +00:00
Tomáš Chvátal
8b4c7c2210 - Add patch from upstream to build with new mock:
* mock30.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=10
2019-05-15 17:40:12 +00:00
Tomáš Chvátal
5e94b71b18 - Update to 1.10.4:
* Fix plugin when 'terminal' plugin is disabled

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=8
2019-04-29 08:07:31 +00:00
Tomáš Chvátal
30379a6a38 - Update to 1.10.3:
* Fix test suite in Python 3.8. Thanks @hroncok for the report and @blueyed for the PR (#140).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=6
2019-04-01 08:36:12 +00:00
Tomáš Chvátal
dfed9bffb9 Accepting request 688627 from home:jayvdb:django
- 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.

OBS-URL: https://build.opensuse.org/request/show/688627
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=4
2019-03-26 09:41:07 +00:00
Stephan Kulow
e78171b7d2 Accepting request 674447 from devel:languages:python:pytest
- Update to 1.10.1:
  * Fix broken links and update README. Also the code is now formatted using black.

OBS-URL: https://build.opensuse.org/request/show/674447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=8
2019-02-24 16:05:20 +00:00
Dominique Leuenberger
48aacc1496 Accepting request 605130 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/605130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=7
2018-05-11 09:26:38 +00:00
Dominique Leuenberger
dd3e42c536 Accepting request 599637 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/599637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=6
2018-04-26 11:34:36 +00:00
Dominique Leuenberger
1b2e7377ba Accepting request 582182 from devel:languages:python
- update to 1.7.1
  * fix reading README.rst in setup.py

- fix deps for setuptools

- update to 1.7.0
  * Drop support for python-2.6 and python-3.3

OBS-URL: https://build.opensuse.org/request/show/582182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=5
2018-03-05 12:36:03 +00:00
Dominique Leuenberger
c8d84e85b7 Accepting request 563590 from devel:languages:python
- Fix building with python3 only available
- Install properly license file/etc

OBS-URL: https://build.opensuse.org/request/show/563590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=4
2018-01-16 08:37:39 +00:00
Dominique Leuenberger
07ca7a3be9 Accepting request 533466 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/533466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=3
2017-10-21 18:20:13 +00:00
Dominique Leuenberger
bafad513a0 Accepting request 516165 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/516165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=2
2017-08-14 10:38:47 +00:00
Dominique Leuenberger
6962a44623 Accepting request 492870 from devel:languages:python
needed for new python-requests

OBS-URL: https://build.opensuse.org/request/show/492870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=1
2017-05-16 12:28:46 +00:00