Replace a top level method in an imported module by another for the duration of a test

前端 未结 0 452
说谎
说谎 2020-12-01 23:44

I am fairly new to Python and I would like to make a test where I read some values from a test json file rather than making an expensive http call.

In my test.p

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