I want to check if a function is being called with a string - however it seems that it makes a difference if that string is created using '%s' to insert a substring. The test is failing with this error:
UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+
- foo('Hello %s', 'world') -> None
? ------
+ foo('Hello world') -> None
How do I check if the method is being called on 'Hello world', regardless of how the string was created?