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