Added by Mark Flynn almost 10 years ago
This is regarding a problem I'm having with unit testing d1 client. I'm trying to test d1client.resolve(). in the question, foo is d1client and bar is cnclient
http://stackoverflow.com/questions/28686371/mock-the-return-value-of-a-mocked-method-in-python