pytest How to mock s3fs.S3FileSystem open file

后端 未结 0 766
太阳男子
太阳男子 2020-12-08 09:19

I am trying to mockup the call to open a file in a S3 bucket. The code that I have is:

# mymodule.py
import s3fs
#...
def __init__(self):
    self.s3_filesyst         


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