Пример #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()