How to mock a config being imported in a module and that module is again imported in a module and that is being tested by pytest?

前端 未结 0 1778
我寻月下人不归
我寻月下人不归 2020-11-28 02:13

Module A is being tested in pytest. Module A imports another module B which in turn imports another module C. I want to mock module C and so that I can test module A in pyte

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