Commit Graph

5 Commits

Author SHA256 Message Date
Tomáš Chvátal
dadb02a190 Accepting request 826973 from home:jayvdb:py-submit
- Remove %check as there are no tests

OBS-URL: https://build.opensuse.org/request/show/826973
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=8
2020-08-16 07:51:26 +00:00
Tomáš Chvátal
721f3ae8e1 Accepting request 734831 from home:jayvdb:python38-packages
- Remove dependency on coverage
  Add remove_coverage.patch to facilitate that

OBS-URL: https://build.opensuse.org/request/show/734831
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=6
2019-10-04 07:42:37 +00:00
e95384ab07 Remove dependency on unittest2
Add remove_unittest2.patch to facilitate that

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=4
2018-08-13 14:07:39 +00:00
c46c53a3c3 Accepting request 479979 from home:tbechtold:branches:devel:languages:python
- 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
2017-03-16 12:42:12 +00:00
af4ec8fb9c Accepting request 400011 from home:tbechtold:branches:devel:languages:python
Needed for newer python-amqp

OBS-URL: https://build.opensuse.org/request/show/400011
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=1
2016-06-06 11:19:56 +00:00