1、Flask的测试:http://docs.jinkan.org/docs/flask/testing.html#faking-resources
2、with 语句: https://www.ibm.com/developerworks/cn/opensource/os-cn-pythonwith/index.html
1、Flask的测试:http://docs.jinkan.org/docs/flask/testing.html#faking-resources
2、with 语句: https://www.ibm.com/developerworks/cn/opensource/os-cn-pythonwith/index.html