Example #1
0
 def setup_method(self, method):
     with app.test_client() as tc:
         self.app = tc
Example #2
0
 def teardown_method(self, method):
     with app.test_client() as tc:
         keys_to_delete = redis_store.keys('USER_BANNER_*')
         for k in keys_to_delete:
             redis_store.delete(k)
Example #3
0
 def teardown_method(self, method):
     with app.test_client() as tc:
         redis_store.delete(BANNER_REDIS_KEY)