Question · Python course · Module 6: Async and FastAPI
Async test decorator
Which decorator marks an asynchronous test in pytest-asyncio?
Answer options
- @pytest.mark.asyncio
- @async_test
- @pytest.async
- @test.async
You can check the correct answer by solving this task in the CodeWorlds game.