예제 #1
0
 def test_can_persist(self):
     self.test_can_add_to_cache()
     try:
         persist_hits()
     except Exception:
         self.fail(
             "persist_hits raised Exception unexpectedly - unable to save hits from cache to DB!"
         )
 def handle_noargs(self, **options):
     persist_hits()
 def handle_noargs(self, **options):
     persist_hits()
예제 #4
0
 def test_can_persist(self):
     self.test_can_add_to_cache()
     try:
         persist_hits()
     except Exception:
         self.fail("persist_hits raised Exception unexpectedly - unable to save hits from cache to DB!")