19 Commits

Author SHA256 Message Date
f9ecc8bd86 Accepting request 1277825 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1277825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-case?expand=0&rev=9
2025-05-20 07:32:40 +00:00
6b1fa32d72 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=17
2025-05-15 15:17:31 +00:00
e2f227563f Accepting request 1092376 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1092376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-case?expand=0&rev=8
2023-06-12 13:26:17 +00:00
a788396b3c Accepting request 1092319 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092319
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=15
2023-06-11 20:08:31 +00:00
91adffaf58 Accepting request 1010390 from devel:languages:python
- use https for urls

OBS-URL: https://build.opensuse.org/request/show/1010390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-case?expand=0&rev=7
2022-10-14 13:41:29 +00:00
659cfa42f8 - use https for urls
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=13
2022-10-13 07:14:23 +00:00
2367f62342 Accepting request 990434 from devel:languages:python
- Remove unneeded Requires on python-mock.

OBS-URL: https://build.opensuse.org/request/show/990434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-case?expand=0&rev=6
2022-07-21 09:35:15 +00:00
8050ba549d - Remove unneeded Requires on python-mock.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=11
2022-07-20 16:24:37 +00:00
39d120cddf Accepting request 919029 from devel:languages:python
- Add remove-nose.patch:
  * Stop using nose to skip tests.
- Adjust Requires from python-nose to python-pytest.

OBS-URL: https://build.opensuse.org/request/show/919029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-case?expand=0&rev=5
2021-09-20 21:31:57 +00:00
4a14df258f - Add remove-nose.patch:
* Stop using nose to skip tests.
- Adjust Requires from python-nose to python-pytest.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=10
2021-09-15 04:40:19 +00:00
205fbc1522 Accepting request 826974 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/826974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-case?expand=0&rev=4
2020-08-25 10:36:40 +00:00
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
f6942b0e3c Accepting request 734914 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/734914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-case?expand=0&rev=3
2019-10-09 13:17:20 +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
77be2d8dc2 Accepting request 629000 from devel:languages:python
Remove dependency on unittest2
Add remove_unittest2.patch to facilitate that

OBS-URL: https://build.opensuse.org/request/show/629000
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-case?expand=0&rev=2
2018-08-24 15:04:12 +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
e90e1b4f4c Accepting request 481996 from devel:languages:python
single-spec (combined python 2 and python 3) version of python3-case, which is already in openSUSE:Factory.

OBS-URL: https://build.opensuse.org/request/show/481996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-case?expand=0&rev=1
2017-04-12 15:32:10 +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