@pytest.mark.asyncio decorator - This tells pytest that this is an asynchronous test function, otherwise pytest will skip it. async def test_sum(mock_sum) ...
確定! 回上一頁