Setting read_data after calling mock.mock_open()

前端 未结 0 1122
暖寄归人
暖寄归人 2021-01-02 04:02

I am testing a class that in turn uses open. I want to patch open on the test class for simplicity, but set read_data

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