Python mocking: Wrapping 'os' and mocking walk and rename -> [Error 3] The system cannot find the path specified

后端 未结 0 1285
臣服心动
臣服心动 2021-01-06 06:21

I need to mock the walk and rename functions of the os module, and let\'s the other methods live their lives and be correctly executed.

To test this, I h

相关标签:
回答
  • 消灭零回复
提交回复
热议问题