Correct unavailabe to unavailable

This patch is to corect unavailabe to unavailable.

Change-Id: I28218c68161faf50075619eaed72bfd74f2d9dd9
This commit is contained in:
liangjingtao 2016-06-28 11:47:48 +08:00
parent e7f48fd1ad
commit 27116d5efe

View File

@ -5913,7 +5913,7 @@ class EMCVNXCLIToggleSPTestCase(test.TestCase):
mock_utils.assert_has_calls(expected)
time_mock.assert_not_called()
def test_toggle_sp_with_server_unavailabe(self, time_mock):
def test_toggle_sp_with_server_unavailable(self, time_mock):
self.cli_client.active_storage_ip = '10.10.10.10'
FAKE_ERROR_MSG = """\
Error occurred during HTTP request/response from the target: '10.244.213.142'.
@ -5940,7 +5940,7 @@ Message : HTTP/1.1 503 Service Unavailable"""
mock_utils.assert_has_calls(expected)
time_mock.assert_has_calls([mock.call(30)])
def test_toggle_sp_with_server_unavailabe_max_retry(self, time_mock):
def test_toggle_sp_with_server_unavailable_max_retry(self, time_mock):
self.cli_client.active_storage_ip = '10.10.10.10'
FAKE_ERROR_MSG = ("Error occurred during HTTP request/response "
"from the target: '10.244.213.142'.\n"