Python's mock module (unittest.mock in Python 3.3 and higher) allows you ... with mock.patch.object(inst, '_internal_api_one', wraps=inst.
確定! 回上一頁