how to mock file size with pathlib.Path objects?

后端 未结 0 596
南笙
南笙 2021-02-19 16:34

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

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