I am not sure I am following you. These "log calls" are fake logging objects. I am just checking the content of the calls.

That is the reason I need to loop over them. For example, `logger.warning` will get called twice almost every time in the tests, so I need to go over the calls, and check the arguments.

There is no file here, unless you mean something different?