Пример #1
0
 def tearDown(self):
     models.db.close_db(None)
     models.create_db(False, True)
     redis_connection.flushdb()
Пример #2
0
 def tearDown(self):
     db.session.remove()
     db.get_engine(self.app).dispose()
     self.app_ctx.pop()
     redis_connection.flushdb()
Пример #3
0
 def tearDown(self):
     models.db.close_db(None)
     models.create_db(False, True)
     redis_connection.flushdb()
Пример #4
0
 def tearDown(self):
     db.session.remove()
     db.get_engine(self.app).dispose()
     self.app_ctx.pop()
     redis_connection.flushdb()
Пример #5
0
 def setUp(self):
     super(TestUserDetail, self).setUp()
     redis_connection.flushdb()