How can i pass non global variables when unit-testing flask application with python

后端 未结 0 654
不思量自难忘°
不思量自难忘° 2021-01-21 09:50

I have a python flask application with a main function that contain a variable named mongo_db:

@app.route(\'/v5/spp/analyze/jobs\', methods=[\'POST\'])
def create         


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