forked from ungleich-public/cdist
--debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
1c38fb492e
commit
fb80a95555
1 changed files with 1 additions and 7 deletions
|
@ -59,11 +59,9 @@ class ManifestTestCase(unittest.TestCase):
|
||||||
self.manifest = manifest.Manifest(target_host, self.local)
|
self.manifest = manifest.Manifest(target_host, self.local)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
#shutil.rmtree(self.temp_dir)
|
shutil.rmtree(self.temp_dir)
|
||||||
pass
|
|
||||||
|
|
||||||
def test_initial_manifest_environment(self):
|
def test_initial_manifest_environment(self):
|
||||||
#initial_manifest = os.path.join(self.local.manifest_path, "init")
|
|
||||||
initial_manifest = os.path.join(self.local.manifest_path, "dump_environment")
|
initial_manifest = os.path.join(self.local.manifest_path, "dump_environment")
|
||||||
output_string = self.manifest.run_initial_manifest(initial_manifest)
|
output_string = self.manifest.run_initial_manifest(initial_manifest)
|
||||||
output_dict = {}
|
output_dict = {}
|
||||||
|
@ -77,10 +75,6 @@ class ManifestTestCase(unittest.TestCase):
|
||||||
self.assertEqual(output_dict['__cdist_type_base_path'], self.local.type_base_path)
|
self.assertEqual(output_dict['__cdist_type_base_path'], self.local.type_base_path)
|
||||||
self.assertEqual(output_dict['__manifest'], self.local.manifest_path)
|
self.assertEqual(output_dict['__manifest'], self.local.manifest_path)
|
||||||
|
|
||||||
|
|
||||||
# for line in output.split('\n'):
|
|
||||||
# print(line)
|
|
||||||
|
|
||||||
def test_type_manifest_environment(self):
|
def test_type_manifest_environment(self):
|
||||||
cdist_type = core.Type(self.local.type_base_path, '__dump_environment')
|
cdist_type = core.Type(self.local.type_base_path, '__dump_environment')
|
||||||
cdist_object = core.Object(cdist_type, self.local.object_base_path, 'whatever')
|
cdist_object = core.Object(cdist_type, self.local.object_base_path, 'whatever')
|
||||||
|
|
Loading…
Reference in a new issue