示例#1
0
 def tearDown(self):
     dbsql.session.remove()
     dbsql.drop_all()
     mongo_db_name = current_app.config['MONGODB_SETTINGS']['db']
     self.conn.drop_database(mongo_db_name)
示例#2
0
 def tearDown(self):
     dbsql.session.remove()
     dbsql.drop_all()
示例#3
0
文件: base.py 项目: scieloorg/opac
 def tearDown(self):
     dbsql.session.remove()
     dbsql.drop_all()
     mongo_db_name = current_app.config['MONGODB_SETTINGS']['db']
     self.conn.drop_database(mongo_db_name)
示例#4
0
 def tearDown(self):
     dbsql.session.remove()
     dbsql.drop_all()