How can test Flask routes without internet connection with pytest, for integration test? How can I mock class called inside route?

后端 未结 0 446
悲&欢浪女
悲&欢浪女 2021-02-10 11:04

I am doing a Flask application test with Pytest for integration test. I would like to test the routes in ‘view.py’. In routes in this ‘view.py’ I use function and class which pa

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