Enable pytest-asyncio debug mode - #603
Conversation
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Enable pytest-asyncio debug mode by default in generated non-API repositories so tests benefit from its extra runtime checks. Keep API repositories unchanged because they do not install pytest-asyncio, and regenerate all affected golden fixtures. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Mirror the template change that enables asyncio debug mode so existing repositories using pytest-asyncio pick it up too. Insert the setting next to the existing asyncio mode configuration, preserve explicit `asyncio_debug` values, and skip projects that do not use `pytest-asyncio`. Report a manual step when the expected pytest configuration cannot be updated safely. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
|
🤖 The template change and the migration look right, Two things before I approve:
Minor: the |
Fixes #541.