unittest.mock is a library for testing in Python. ... call object can be used for conveniently constructing lists of calls to compare with call_args_list .
確定! 回上一頁