Mocking API Call in Unit Testing Python 3

后端 未结 0 1716
清酒与你
清酒与你 2021-01-11 23:07

I have been given the task to write unit-tests for a function which eventually makes a requests.post API call. I have been asked to use mocking in Python. I am fairly new to

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