File python-case.changes of Package python-case
-------------------------------------------------------------------
Sun Jun 11 13:54:56 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Thu Oct 13 07:14:18 UTC 2022 - Dirk Müller <dmueller@suse.com>
- use https for urls
-------------------------------------------------------------------
Wed Jul 20 16:23:58 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Remove unneeded Requires on python-mock.
-------------------------------------------------------------------
Wed Sep 15 04:38:57 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Add remove-nose.patch:
* Stop using nose to skip tests.
- Adjust Requires from python-nose to python-pytest.
-------------------------------------------------------------------
Sun Aug 16 06:43:43 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Remove test dependencies and %check as there are no tests
-------------------------------------------------------------------
Thu Oct 3 16:35:14 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Remove dependency on coverage
Add remove_coverage.patch to facilitate that
-------------------------------------------------------------------
Mon Aug 13 14:07:19 UTC 2018 - mcepl@suse.com
- Remove dependency on unittest2
Add remove_unittest2.patch to facilitate that
-------------------------------------------------------------------
Wed Mar 15 10:57:58 UTC 2017 - tbechtold@suse.com
- update to 1.5.3:
- ``patch.multiple`` now works.
- Using setup/teardown instead of setup_method/teardown_method was a bad idea.
- 1.5.0 had a left over print statement :blush:
- Pytest: When decorating classes using the ``skip.*`` and ``mock.*``
decorators, these now augment ``cls.setup``/``cls.teardown`` instead of
``cls.setup_method``/``cls.teardown_method``.
- Pytest: Adds ``patching.object``.
- Adds new helper: ``case.pytest.fixture_with_options``.
- All case decorators now works with py.test classes.
- Py.test: Adds new `stdouts` fixture that patches :data:`sys.stdout`,
and :data:`sys.stderr`.
- Py.test: The `patching` fixture can now mock modules.
- Case is now a py.test plug-in and provides a `patching` fixture
as a shortcut to `monkeypatch` setting the value to a mock.
- Case decorators now supports py.test.
- Patcher created by create_patcher now accepts *args.
- ``mock.reload_modules``: Fixed compatibility with Python 3.
- ``mock.reload_modules`` now re-imports the module and
calls ``reload()`` on it.
- Adds ``mock.mute`` decorator to suppress stdout with no return value.
- Adds ``Mock.on_nth_call_do_raise(excA, excB, n)``.
- Fix license
- Convert to singlespec approach
-------------------------------------------------------------------
Fri Jun 3 17:12:53 UTC 2016 - tbechtold@suse.com
- Initial packaging (version 1.1.4)