Beispiel #1
0
 def setup_method(self, method):
     with app.test_client() as tc:
         self.app = tc
Beispiel #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)
Beispiel #3
0
 def teardown_method(self, method):
     with app.test_client() as tc:
         redis_store.delete(BANNER_REDIS_KEY)