Asyncio unit test shall fail when not all tasks are stopped at the end of the test

后端 未结 0 425
耶瑟儿~
耶瑟儿~ 2020-12-18 02:00

How can i reach that the unit test fails if not all tasks are stopped until the end of the test?

I need this to test if the cleanup of a tested module is as expected.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题