mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Changelog: ========== - gh-100740: Fix unittest.mock.Mock not respecting the spec for attribute names prefixed with assert. - gh-100690: Mock objects which are not unsafe will now raise an AttributeError when accessing an attribute that matches the name of an assertion but without the prefix assert_, e.g. accessing called_once instead of assert_called_once. This is in addition to this already happening for accessing attributes with prefixes assert, assret, asert, aseert, and assrt. - gh-96127: inspect.signature was raising TypeError on call with mock objects. Now it correctly returns (*args, **kwargs) as infered signature. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 lines
570 B
BlitzBasic
17 lines
570 B
BlitzBasic
DESCRIPTION = "A Python Mocking and Patching Library for Testing"
|
|
HOMEPAGE = "https://pypi.python.org/pypi/mock"
|
|
SECTION = "devel/python"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
RDEPENDS:${PN} += "${PYTHON_PN}-prettytable \
|
|
${PYTHON_PN}-cmd2 \
|
|
${PYTHON_PN}-pyparsing \
|
|
${PYTHON_PN}-mccabe \
|
|
${PYTHON_PN}-pep8 \
|
|
${PYTHON_PN}-pyflakes"
|
|
|
|
SRC_URI[sha256sum] = "e3ea505c03babf7977fd21674a69ad328053d414f05e6433c30d8fa14a534a6b"
|