- 发布:
- 2016-03-09
- 已更新:
- 2016-03-09
RHEA-2016:0394 - Product Enhancement Advisory
概述
python-mock bug fix and enhancement update
类型/严重性
Product Enhancement Advisory
Red Hat Insights 补丁分析
识别并修复受此公告影响的系统。
标题
Updated python-mock packages that fix several bugs and add various enhancements are now available.
描述
The python-mock package is is a Python module that provides a core mock class. It removes the need to create a host of stubs throughout your test suite. After performing an action, you can make assertions about which methods / attributes were used and arguments they were called with. You can also specify return values and set needed attributes in the normal way.
Changes to the python-mock component:
- This update rebases these package(s) to version 1.0.1 and provides feature parity with unittest.mock in Python 3.3 and several bug fixes. A full list of the changes is available here: http://www.voidspace.org.uk/python/mock/changelog.html#version-1-0-1 (BZ#1212456)
解决方案
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
For details on how to apply this update, refer to:
受影响的产品
- Red Hat Virtualization 3 for RHEL 7 x86_64
- Red Hat Virtualization for IBM Power LE 3 ppc64le
修复
- BZ - 1212456 - Upgrade python-mock to 1.0.1
CVE
(none)
Red Hat Virtualization 3 for RHEL 7
SRPM | |
---|---|
python-mock-1.0.1-5.el7ev.src.rpm | SHA-256: 51f090845891b900aabaf9afb246f421a0371898a6491b39c08d14cf61919285 |
x86_64 | |
python-mock-1.0.1-5.el7ev.noarch.rpm | SHA-256: 9bb6e63917993d44a17f04b961b81bfccd1b79958c560dc52a0be1c855f8b77f |
Red Hat Virtualization for IBM Power LE 3
SRPM | |
---|---|
python-mock-1.0.1-5.el7ev.src.rpm | SHA-256: 51f090845891b900aabaf9afb246f421a0371898a6491b39c08d14cf61919285 |
ppc64le | |
python-mock-1.0.1-5.el7ev.noarch.rpm | SHA-256: 9bb6e63917993d44a17f04b961b81bfccd1b79958c560dc52a0be1c855f8b77f |
Red Hat 安全团队联络方式为 secalert@redhat.com。 更多联络细节请参考 https://access.redhat.com/security/team/contact/。