|
|
|
@ -78,7 +78,6 @@ class CodeTestCase(test.CdistTestCase): |
|
|
|
|
self.assertEqual(output_dict['__object'], self.cdist_object.absolute_path) |
|
|
|
|
self.assertEqual(output_dict['__object_id'], self.cdist_object.object_id) |
|
|
|
|
self.assertEqual(output_dict['__object_name'], self.cdist_object.name) |
|
|
|
|
self.assertEqual(output_dict['__self'], self.cdist_object.name) |
|
|
|
|
|
|
|
|
|
def test_run_gencode_remote_environment(self): |
|
|
|
|
output_string = self.code.run_gencode_remote(self.cdist_object) |
|
|
|
@ -94,7 +93,6 @@ class CodeTestCase(test.CdistTestCase): |
|
|
|
|
self.assertEqual(output_dict['__object'], self.cdist_object.absolute_path) |
|
|
|
|
self.assertEqual(output_dict['__object_id'], self.cdist_object.object_id) |
|
|
|
|
self.assertEqual(output_dict['__object_name'], self.cdist_object.name) |
|
|
|
|
self.assertEqual(output_dict['__self'], self.cdist_object.name) |
|
|
|
|
|
|
|
|
|
def test_transfer_code_remote(self): |
|
|
|
|
self.cdist_object.code_remote = self.code.run_gencode_remote(self.cdist_object) |
|
|
|
|