예제 #1
0
 def setUp(self):
     cache_managers.clear()
     cache_opts = {
         'cache.type': 'memory',
         'cache.regions': 'dummyunittest',
         'cache.expire': 10
     }
     self.cache_mgr = CacheManager(**parse_cache_config_options(cache_opts))
예제 #2
0
 def setUp(self):
     cache_managers.clear()
     cache_opts = {
         'cache.type': 'memory',
         'cache.regions': 'public.data, public.filtered_data, unittest, public.shortlived, public.very_shortlived'
     }
     self.cache_mgr = CacheManager(**parse_cache_config_options(cache_opts))
     set_tenant_map({'tomcat': 'NC', get_unittest_tenant_name(): 'NC'})
예제 #3
0
 def setUp(self):
     cache_managers.clear()
     cache_opts = {
         'cache.type': 'memory',
         'cache.regions': 'dummyunittest',
         'cache.expire': 10
     }
     self.cache_mgr = CacheManager(**parse_cache_config_options(cache_opts))
 def setUp(self):
     cache_managers.clear()
     cache_opts = {
         'cache.type': 'memory',
         'cache.regions': 'public.data, public.filtered_data, unittest, public.shortlived, public.very_shortlived'
     }
     CacheManager(**parse_cache_config_options(cache_opts))
     self.tenant = get_unittest_tenant_name()
예제 #5
0
 def tearDown(self):
     # reset the registry
     testing.tearDown()
     cache_managers.clear()
예제 #6
0
 def tearDown(self):
     testing.tearDown()
     cache_managers.clear()
     cache_regions.clear()
예제 #7
0
 def tearDown(self):
     # reset the registry
     testing.tearDown()
     cache_managers.clear()
예제 #8
0
 def tearDown(self):
     cache_managers.clear()
예제 #9
0
 def tearDown(self):
     cache_managers.clear()
예제 #10
0
 def tearDown(self):
     # reset the registry
     testing.tearDown()
     cache_managers.clear()
     self.__temp_dir.cleanup()
 def tearDown(self):
     # reset the registry
     testing.tearDown()
     cache_managers.clear()
     self.__temp_dir.cleanup()
예제 #12
0
 def tearDown(self):
     testing.tearDown()
     cache_managers.clear()
     cache_regions.clear()