MCPcopy Create free account
hub / github.com/ceph/ceph / setUp

Method setUp

qa/tasks/mgr/test_cache.py:13–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11class TestCache(MgrTestCase):
12
13 def setUp(self):
14 log.info("TestCache setup")
15 super(TestCache, self).setUp()
16 log.info("Setting up mgrs")
17 self.setup_mgrs()
18 log.info("Loading cli_api module")
19 self._load_module("cli_api")
20 log.info("Enabling cache")
21 self.enable_cache()
22
23 def enable_cache(self, on=True):
24 cache_set = 'true' if on else 'false'

Callers

nothing calls this directly

Calls 4

enable_cacheMethod · 0.95
setup_mgrsMethod · 0.80
infoMethod · 0.45
_load_moduleMethod · 0.45

Tested by

no test coverage detected