Beispiel #1
0
 def assertNotInCache(self, zenpy_object):
     """ If an object should have been purged from the cache, assert that it is. """
     if should_cache(zenpy_object):
         self.assertTrue(not in_cache(zenpy_object))
Beispiel #2
0
 def assertNotInCache(self, zenpy_object):
     """ If an object should have been purged from the cache, assert that it is. """
     if should_cache(zenpy_object):
         self.assertTrue(not in_cache(zenpy_object))
Beispiel #3
0
 def assertInCache(self, zenpy_object):
     """ If an object should be cached, assert that it is """
     if should_cache(zenpy_object):
         self.assertTrue(in_cache(zenpy_object))
Beispiel #4
0
 def assertInCache(self, zenpy_object):
     """ If an object should be cached, assert that it is """
     if should_cache(zenpy_object):
         self.assertTrue(in_cache(zenpy_object))