def test_puppet_module_wrong(self): puppet_executor = puppet.PuppetExecutor('wrong') self.assertRaises(ex.CustomException, puppet_executor.run, 'test')
def setUp(self): super(TestPuppetExecutor, self).setUp() self.puppet_executor = puppet.PuppetExecutor('module::recipe')