Pytest: How to mock a class method inside a for loop?

后端 未结 0 1718
予麋鹿
予麋鹿 2020-12-31 00:22

I have a method class method which is inside a for loop that I would like to mock using pytest. The method has some default named arguments.

Here is something I have

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