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