Pytest Test Async Function Python Definition