def test__init(self): TestPlugin.test__init(self) core = Mock() p = self.get_obj(core=core) self.assertIsInstance(p.store, PropDirectoryBacked) self.assertEqual(Bcfg2.Server.Plugins.Properties.SETUP, core.setup)
def test__init(self): TestPlugin.test__init(self) core = Mock() p = self.get_obj(core=core) self.assertIsInstance(p.store, PropDirectoryBacked) self.assertEqual(Bcfg2.Server.Plugins.Properties.SETUP, core.setup)
def test__init(self): if Bcfg2.Options.setup.probes_db: TestPlugin.test__init(self)
def test__init(self): if Bcfg2.Options.setup.probes_db: TestPlugin.test__init(self)
def test__init(self): TestPlugin.test__init(self) th = self.get_obj() self.assertIsInstance(th.helpers, HelperSet)
def test__init(self): TestPlugin.test__init(self) th = self.get_obj() self.assertIsInstance(th.helpers, HelperSet)