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

后端 未结 0 1056
栀梦
栀梦 2020-12-18 02:16

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.

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