Stephen Finucane 40c5b274de Remove redundant monkey patching
We were monkey patching mock's `_copy_func_details` function to
work around a bug ultimately caused by unguarded attempts to access
the __name__ attribute, which may not exist for partial functions.
However, this has not been an issue since bpo-28919 [1] which
reworked the function to guard all attribute accesses [2]. That change
was included in Python 3.6, which means our monkey patched function has
been a no-op since then. We can therefore remove it.

[1] https://bugs.python.org/issue28919
[2] https://hg.python.org/cpython/rev/bbdfde7958a8

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Ie6148d9607c7f5ab7b97125dbaccef99f032ad55
2026-03-27 14:35:54 +01:00
2025-11-04 17:27:07 +00:00
2026-03-27 14:35:54 +01:00
2025-09-12 11:00:02 +01:00
2025-11-03 17:39:17 +00:00
2020-02-10 11:59:08 +00:00
2019-04-19 19:34:08 +00:00
2014-01-31 15:42:43 -08:00
2025-12-17 18:14:33 +00:00
2018-06-14 18:51:15 +00:00
2018-11-07 08:56:32 +00:00
2014-01-31 15:42:43 -08:00
2025-11-21 22:14:33 +09:00
2025-12-17 08:49:03 +00:00
2025-11-04 17:27:07 +00:00
2025-12-17 18:14:33 +00:00

oslotest -- OpenStack Testing Framework and Utilities

image

The Oslo Test framework provides common fixtures, support for debugging, and better support for mocking results.

Description
OpenStack test classes
Readme 2.8 MiB
Languages
Python 97.9%
Shell 2.1%