17
0

Accepting request 915211 from devel:languages:python

- Update to 0.10.8:
  * Fix with_args not working built-in functions. 

- Update to 0.10.7:
  - Fix ``with_args`` not working built-in functions and methods.
  - Fix previous pytest ``--durations`` fix not working.
- from version 0.10.6
  - Fix flexmock broken with Pytest 4 & 5.
  - Fix new_instances method not working with Python 2.7.
  - Fix multiple expectations for the same classmethod are not matched.
- from version 0.10.5
  - Improve error message on unmatched method signature expectation.
  - Fix using ``should_call`` passes wrong ``runtime_self``.
  - Fix pytest ``--durations`` flag when flexmock is installed.

OBS-URL: https://build.opensuse.org/request/show/915211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=5
This commit is contained in:
2021-09-03 19:26:06 +00:00
committed by Git OBS Bridge
4 changed files with 26 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5033ceb974d6452cf8716c2ff5059074b77e546df5c849fb44a53f98dfe0d82c
size 45362

3
flexmock-0.10.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6820031c39b298646194a3f0b2b693322bb7f44b39dbaf1c54b0ae68b3d768fa
size 46905

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Aug 31 08:53:33 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.10.8:
* Fix with_args not working built-in functions.
-------------------------------------------------------------------
Wed Aug 25 09:55:08 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.10.7:
- Fix ``with_args`` not working built-in functions and methods.
- Fix previous pytest ``--durations`` fix not working.
- from version 0.10.6
- Fix flexmock broken with Pytest 4 & 5.
- Fix new_instances method not working with Python 2.7.
- Fix multiple expectations for the same classmethod are not matched.
- from version 0.10.5
- Improve error message on unmatched method signature expectation.
- Fix using ``should_call`` passes wrong ``runtime_self``.
- Fix pytest ``--durations`` flag when flexmock is installed.
-------------------------------------------------------------------
Thu Mar 28 14:27:55 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
@@ -35,4 +56,3 @@ Thu Oct 13 10:22:24 UTC 2016 - alarrosa@suse.com
- Initial package
- Official upstream release 0.10.2

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flexmock
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,11 +18,10 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-flexmock
Version: 0.10.4
Version: 0.10.8
Release: 0
Summary: Testing library for creating mocks, stubs and fakes
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/bkabrda/flexmock
Source: https://files.pythonhosted.org/packages/source/f/flexmock/flexmock-%{version}.tar.gz
BuildRequires: %{python_module pytest}