mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-13 03:37:15 +00:00
python3-pytest-mock: Upgrade 3.15.1 -> 3.17.0
Upgrade to release 3.17.0: - Failures of mock assertions such as assert_called_with are again reported only once, instead of two or three times with the original error from the mock module chained before them. - Mock assertion failures no longer show misleading introspection when they are not about the arguments of the last call: assert_called, assert_called_once, assert_not_called, assert_any_call, their await counterparts, and assert_called_once_with/assert_awaited_once_with when the mock was not called (awaited) exactly once. The introspection also no longer reports arguments passed by position versus by keyword as different for autospecced mocks, and no longer shows empty Args:/Kwargs: sections when assertion rewriting is not available. - assert_has_calls and assert_has_awaits failures no longer show pytest introspection, which compared the expected and actual calls position by position and so reported differences between unrelated calls. The mock's own message, listing the expected and actual calls, is still shown. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
fb422645c0
commit
ac8b9b8f13
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = " \
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
SRC_URI[sha256sum] = "1849a238f6f396da19762269de72cb1814ab44416fa73a8686deac10b0d87a0f"
|
||||
SRC_URI[sha256sum] = "e36576e0985e01027e999891e7a966c67822d40c89ef1b4c8b6e22737e3590b4"
|
||||
|
||||
inherit pypi python_setuptools_build_meta ptest
|
||||
|
||||
Reference in new issue
Block a user