how to mock file size with pathlib.Path objects?

后端 未结 0 848
名媛妹妹
名媛妹妹 2021-02-19 16:42

In my function I was previously using the os.path.getsize function to get the file size. So in my test suit I was using the following to test the resulting value of

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