Mock a method that raise an exception a number of times

前端 未结 0 1926
独厮守ぢ
独厮守ぢ 2021-01-07 02:11

I have looked for how to do this all day, without luck. I\'m using Django 1.11 and Python 2.7 (no possibility to upgrade).

I have a method that calls an external API.

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