The key was to use mocker.patch.object(cli, "httpx") which patches the httpx module that was imported by the cli module. Here ...
確定! 回上一頁