How to mock HTTP requests in python

前端 未结 0 780
星月不相逢
星月不相逢 2020-11-28 00:54

I am pretty new to unit testing and I am trying mock GET and POST requests so it can use fake urls instead of the real ones.

So far I tried pytest and

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