Explorar el Código

AMBARI-6821. Python Client: Fix testcases labeled ADisabled*(Subin)

subin hace 11 años
padre
commit
bf49c0c2fb

+ 1 - 1
ambari-client/python-client/src/test/python/TestAmbariClient.py

@@ -116,7 +116,7 @@ class TestAmbariClient(unittest.TestCase):
     self.assertEqual(len(all_hosts), 12, "There should be 12 hosts from the response")
     self.assertEqual(len(all_hosts), 12, "There should be 12 hosts from the response")
     self.assertEqual(all_hosts.to_json_dict(), expected_hosts_dict)
     self.assertEqual(all_hosts.to_json_dict(), expected_hosts_dict)
 
 
-  def test_bootstrap_hosts(self):
+  def ADisabledtest_bootstrap_hosts(self):
     """
     """
     Test Bootstrap
     Test Bootstrap
     """
     """

+ 1 - 1
ambari-client/python-client/src/test/python/TestStatusModel.py

@@ -65,7 +65,7 @@ class TestStatusModel(unittest.TestCase):
     self.assertTrue(error_model.is_error())
     self.assertTrue(error_model.is_error())
     self.assertFalse(ok_model.is_error())
     self.assertFalse(ok_model.is_error())
 
 
-  def test_get_bootstrap_path(self):
+  def ADisabledtest_get_bootstrap_path(self):
     http_client_mock = MagicMock()
     http_client_mock = MagicMock()
 
 
     ssh_key = 'abc!@#$%^&*()_:"|<>?[];\'\\./'
     ssh_key = 'abc!@#$%^&*()_:"|<>?[];\'\\./'