Testing coroutine function in async web socket consumers using channels

前端 未结 0 1371
遥遥无期
遥遥无期 2021-02-10 18:46

I am writing test cases for an Async WebSocket Consumer using the django channels. I want to mock a coroutine which I have defined in the connect method of my WebSocketConsumer.

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