Future() # mocker.patch('app.sum', return_value=future) # return future @pytest.mark.asyncio async def test_sum(mock_sum): ...
確定! 回上一頁