mock 函数测试类. def test_slow_function_mocked_api_call(mocker):. mocker.patch(. # api_call is from slow.py but imported to main.py.
確定! 回上一頁