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