Browse Source

Merge pull request #3071 from ashcrow/remove-print-from-tests

cleanup: Removed debug prints from tests
Jason DeTiberus 8 years ago
parent
commit
129ba2b31f
2 changed files with 0 additions and 2 deletions
  1. 0 1
      utils/test/openshift_ansible_tests.py
  2. 0 1
      utils/test/test_utils.py

+ 0 - 1
utils/test/openshift_ansible_tests.py

@@ -58,7 +58,6 @@ class TestOpenShiftAnsible(unittest.TestCase):
         self.assertTrue(inventory.has_option('new_nodes', 'new_node1'))
 
     def test_write_inventory_vars_role_vars(self):
-        print(yaml.dump(openshift_ansible.CFG.deployment.roles))
         with open(self.inventory, 'w') as inv:
             openshift_ansible.CFG.deployment.roles['master'].variables={'color': 'blue'}
             openshift_ansible.CFG.deployment.roles['node'].variables={'color': 'green'}

+ 0 - 1
utils/test/test_utils.py

@@ -38,7 +38,6 @@ class TestUtils(unittest.TestCase):
 
         with mock.patch('ooinstall.utils.installer_log') as _il:
             debug_env(self.debug_all_params)
-            print(_il.debug.call_args_list)
 
             # Debug was called for each item we expect
             self.assertEqual(