def tearDownClass(cls):
if cls.client:
# stop the flask server and the browser
cls.client.get('http://localhost:5000/shutdown')
cls.client.close()
# destroy database
db.drop_all()
db.session.remove()
# remove application context
cls.app_context.pop()
test_selenium.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录