unittest.mock: a mock created by patch with a spec as the list argument will be callable if __call__ is in the spec
2 files changed