Skipping a send email function and celery task during the unit testing

后端 未结 0 495
没有蜡笔的小新
没有蜡笔的小新 2021-01-05 05:11

I have a Django view that I want to unit test it but the problem is in some line of the function it calls another function which has a send email function and this send emai

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