def tearDown(self):
     db.session.execute('''DROP SCHEMA IF EXISTS public cascade;''')
     db.session.execute('''CREATE SCHEMA public;''')
     db.session.commit()
     db.session.remove()
     db.drop_all()
     db.get_engine(self.app).dispose()
 def tearDown(self):
     db.session.execute('''DROP SCHEMA IF EXISTS public cascade;''')
     db.session.execute('''CREATE SCHEMA public;''')
     db.session.commit()
     db.session.remove()
     db.drop_all()
     db.get_engine(self.app).dispose()
 def tearDown(self):
     db.session.remove()
     db.drop_all()
     db.get_engine(self.app).dispose()
 def tearDown(self):
     db.session.remove()
     db.drop_all()
     db.get_engine(self.app).dispose()