def setUp(self):
     # django.test.TestCase flushes the database so we have to clear the redis side as well to be consistent.
     redis.flushdb()
     cache.flush_all()
     CachedCall.inprocess_cache.flush()
     django.test.TestCase.setUp(self)
     self.restore_facebook = self.mock_facebook()
     self.after_setUp()
Exemplo n.º 2
0
 def setUp(self):
     # django.test.TestCase flushes the database so we have to clear the redis side as well to be consistent.
     redis.flushdb()
     cache.flush_all()
     CachedCall.inprocess_cache.flush()
     django.test.TestCase.setUp(self)
     self.restore_facebook = self.mock_facebook()
     self.after_setUp()
 def after_setUp(self):
     CachedCall.inprocess_cache = NoCache()
     cache.flush_all()
 def after_setUp(self):
     cache.flush_all()
     CachedCall.inprocess_cache = InProcessCache()
 def after_setUp(self):
     cache.flush_all()
Exemplo n.º 6
0
 def after_setUp(self):
     CachedCall.inprocess_cache = NoCache()
     cache.flush_all()
Exemplo n.º 7
0
 def after_setUp(self):
     cache.flush_all()
     CachedCall.inprocess_cache = InProcessCache()
Exemplo n.º 8
0
 def after_setUp(self):
     cache.flush_all()