How do you test a function that contains a mocked object instantiated in said function?

后端 未结 0 1406
野趣味
野趣味 2021-02-10 10:21

I\'m still green when it comes to testing/mocking and I\'ve been struggling with this today.

In file.py...

class FileImporter:
    
    def __init__(self,          


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