forked from pool/python-mockito
- Update to 1.1.1:
* Added forget_invocations function. Thanks to @maximkulkin * Fix: The context manager (with) has now a proper implementation * Fix: Calling patch with two arguments can now be used with with * Fix: Do not treat the placeholder arguments (Ellipsis, args, kwargs) as special on call time anymore. (T.i. they only have a meaning when stubbing or verifying.) * Enhancement: Changed some truthy or equality tests to identity (is) tests. This reduces edge-cases where some user object defines __eq__ or __bool__. (Hello _numpy_!) - Run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mockito?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
cbb078a7a4
commit
56dca015d4
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea264ebf1d3d0e8bef31f2d630dcd18fcc073dbc4a3b4050b80ac624f6e46788
|
||||
size 35406
|
||||
3
mockito-1.1.1.tar.gz
Normal file
3
mockito-1.1.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:142f5e8865a422ad2d67b9c67a382e3296e8f1633dbccd0e322180fba7d5303d
|
||||
size 36959
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 12:38:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.1.1:
|
||||
* Added forget_invocations function. Thanks to @maximkulkin
|
||||
* Fix: The context manager (with) has now a proper implementation
|
||||
* Fix: Calling patch with two arguments can now be used with with
|
||||
* Fix: Do not treat the placeholder arguments (Ellipsis, args, kwargs) as special on call time anymore. (T.i. they only have a meaning when stubbing or verifying.)
|
||||
* Enhancement: Changed some truthy or equality tests to identity (is) tests. This reduces edge-cases where some user object defines __eq__ or __bool__. (Hello _numpy_!)
|
||||
- Run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:50:25 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-mockito
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,13 +18,15 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-mockito
|
||||
Version: 1.0.12
|
||||
Version: 1.1.1
|
||||
Release: 0
|
||||
Summary: Spying framework
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://mockito-python.readthedocs.io/en/latest/
|
||||
URL: https://github.com/kaste/mockito-python
|
||||
Source: https://files.pythonhosted.org/packages/source/m/mockito/mockito-%{version}.tar.gz
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -47,6 +49,9 @@ Mockito is a spying framework originally based on the Java library with the same
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS CHANGES.txt README.rst
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user