forked from pool/python-case
c46c53a3c34e54475d19cd5448b8b2c40e04a5a6f14e1fe2116fd53a8060eaff
- 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 😊 - 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 OBS-URL: https://build.opensuse.org/request/show/479979 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=2
Description
No description provided
Languages
RPM Spec
100%