From 0c77a3a5e6fae82f38ac908a56587ed90919b72ce11d088a9a0635819a65fd30 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Mar 2024 08:58:19 +0000 Subject: [PATCH] - 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 --- 1.4.0.tar.gz | 3 --- 1.5.0.tar.gz | 3 +++ python-mockito.changes | 15 +++++++++++---- python-mockito.spec | 4 ++-- 4 files changed, 16 insertions(+), 9 deletions(-) delete mode 100644 1.4.0.tar.gz create mode 100644 1.5.0.tar.gz diff --git a/1.4.0.tar.gz b/1.4.0.tar.gz deleted file mode 100644 index a6cae3e..0000000 --- a/1.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe0614d07bf0f762f9b0e7b7183788e80941950315f58dfa2d405415afc9e65a -size 58024 diff --git a/1.5.0.tar.gz b/1.5.0.tar.gz new file mode 100644 index 0000000..615f025 --- /dev/null +++ b/1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:599356409c790bc663d51a076696d59b84789acd013207355d98a47dd040389f +size 59902 diff --git a/python-mockito.changes b/python-mockito.changes index 427365d..251abb3 100644 --- a/python-mockito.changes +++ b/python-mockito.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Mar 16 08:57:47 UTC 2024 - Dirk Müller + +- 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 @@ -28,14 +35,14 @@ Thu Sep 29 16:37:08 UTC 2022 - Yogalakshmi Arunachalam mock.do_something(123) mock.do_something(456) 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 - Update to 1.2.2: * 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 @@ -43,7 +50,7 @@ Wed Apr 1 07:13:22 UTC 2020 - pgajdos@suse.com - version update to 1.2.1 - @nielsvaneck fixed how we can lookup inherited classmethods. - 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 - 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 - Adapt setup.py.patch to upstream changes - 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 ------------------------------------------------------------------- diff --git a/python-mockito.spec b/python-mockito.spec index eed7423..b4f46a4 100644 --- a/python-mockito.spec +++ b/python-mockito.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python36 1 Name: python-mockito -Version: 1.4.0 +Version: 1.5.0 Release: 0 Summary: Spying framework License: MIT