Pytest
Basic
Code should have a set of automated tests that allow you to design new code and modify existing code while verifying that everything continues to work correctly.
Asyncio
pytest-asyncio simplifies handling event loops, managing async fixtures, and bridges the gap between async programming and thorough testing.
Environment Variables
You need to understand variable preference, how to override them, and how to ensure your tests are isolated from the local runtime environment.