Is it possible to mock a post request with pytest?

前端 未结 0 1988
Happy的楠姐
Happy的楠姐 2021-02-12 13:01

I am building an API using Flask and have many unit tests created. Right now my post requests actually insert rows to a database, but ideally I just want to make sure those func

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