forked from pool/python-mockito
- update to 1.5.0:
* @Oracking fixed `expect` to support a string as its first
argument. All other functions supported that already.
assert arg.all_values == [123, 456]
- Do not build for Python 3.6, due to no NumPy.
- Fine tune error messages on unexpected calls or verifications.
- Remove python-mockito.rpmlintrc; problem of execution bits have
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mockito?expand=0&rev=21
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fe0614d07bf0f762f9b0e7b7183788e80941950315f58dfa2d405415afc9e65a
|
|
||||||
size 58024
|
|
||||||
3
1.5.0.tar.gz
Normal file
3
1.5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:599356409c790bc663d51a076696d59b84789acd013207355d98a47dd040389f
|
||||||
|
size 59902
|
||||||
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 16 08:57:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.5.0:
|
||||||
|
* @Oracking fixed `expect` to support a string as its first
|
||||||
|
argument. All other functions supported that already.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 29 16:37:08 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Thu Sep 29 16:37:08 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
@@ -28,14 +35,14 @@ Thu Sep 29 16:37:08 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
|||||||
mock.do_something(123)
|
mock.do_something(123)
|
||||||
mock.do_something(456)
|
mock.do_something(456)
|
||||||
verify(mock).do_something(arg)
|
verify(mock).do_something(arg)
|
||||||
assert arg.all_values == [123, 456]
|
assert arg.all_values == [123, 456]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 22 06:00:46 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
Thu Apr 22 06:00:46 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
- Update to 1.2.2:
|
- Update to 1.2.2:
|
||||||
* Fix typo in ``spy2`` doc
|
* Fix typo in ``spy2`` doc
|
||||||
- Do not build for Python 3.6, due to no NumPy.
|
- Do not build for Python 3.6, due to no NumPy.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 1 07:13:22 UTC 2020 - pgajdos@suse.com
|
Wed Apr 1 07:13:22 UTC 2020 - pgajdos@suse.com
|
||||||
@@ -43,7 +50,7 @@ Wed Apr 1 07:13:22 UTC 2020 - pgajdos@suse.com
|
|||||||
- version update to 1.2.1
|
- version update to 1.2.1
|
||||||
- @nielsvaneck fixed how we can lookup inherited classmethods.
|
- @nielsvaneck fixed how we can lookup inherited classmethods.
|
||||||
- Code base now is python 3 compatible. No 2to3 anymore.
|
- Code base now is python 3 compatible. No 2to3 anymore.
|
||||||
- Fine tune error messages on unexpected calls or verifications.
|
- Fine tune error messages on unexpected calls or verifications.
|
||||||
- @felixonmars fixed a small compatibility issue with python 3.8
|
- @felixonmars fixed a small compatibility issue with python 3.8
|
||||||
- Mocking properties has become a bit easier. (#26)
|
- Mocking properties has become a bit easier. (#26)
|
||||||
|
|
||||||
@@ -103,7 +110,7 @@ Sun Dec 8 16:15:34 UTC 2013 - p.drouand@gmail.com
|
|||||||
- Remove redundant %clean section
|
- Remove redundant %clean section
|
||||||
- Adapt setup.py.patch to upstream changes
|
- Adapt setup.py.patch to upstream changes
|
||||||
- Rename it to respect standard naming conventions
|
- Rename it to respect standard naming conventions
|
||||||
- Remove python-mockito.rpmlintrc; problem of execution bits have
|
- Remove python-mockito.rpmlintrc; problem of execution bits have
|
||||||
been fixed by upstream
|
been fixed by upstream
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-mockito
|
# spec file for package python-mockito
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python36 1
|
%define skip_python36 1
|
||||||
Name: python-mockito
|
Name: python-mockito
|
||||||
Version: 1.4.0
|
Version: 1.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Spying framework
|
Summary: Spying framework
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|||||||
Reference in New Issue
Block a user