From 284d3112679d9970240e0bbea26b5d0281ee84a5 Mon Sep 17 00:00:00 2001 From: shangxiaobj Date: Sun, 13 Aug 2017 23:37:34 -0700 Subject: [PATCH] [Trivialfix]Fix typos in tempest Fix all the typos found in tempest. Change-Id: I9417ff7e0ab8a552c6d6acdeb968a9fe993b270a --- doc/source/library/credential_providers.rst | 2 +- tempest/api/compute/servers/test_list_server_filters.py | 2 +- tempest/api/compute/servers/test_novnc.py | 2 +- tempest/common/utils/linux/remote_client.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/library/credential_providers.rst b/doc/source/library/credential_providers.rst index 7e831cc9ac..f4eb37d4cc 100644 --- a/doc/source/library/credential_providers.rst +++ b/doc/source/library/credential_providers.rst @@ -6,7 +6,7 @@ Credential Providers These library interfaces are used to deal with allocating credentials on demand either dynamically by calling keystone to allocate new credentials, or from a list of preprovisioned credentials. These 2 modules are implementations of -the same abstract credential providers class and can be used interchangably. +the same abstract credential providers class and can be used interchangeably. However, each implementation has some additional parameters that are used to influence the behavior of the modules. The API reference at the bottom of this doc shows the interface definitions for both modules, however that may be a bit diff --git a/tempest/api/compute/servers/test_list_server_filters.py b/tempest/api/compute/servers/test_list_server_filters.py index a4ed8e11fc..14aecfda5a 100644 --- a/tempest/api/compute/servers/test_list_server_filters.py +++ b/tempest/api/compute/servers/test_list_server_filters.py @@ -262,7 +262,7 @@ class ListServerFiltersTestJSON(base.BaseV2ComputeTest): # so as to ensure only one server is returned. ip_list = {} self.s1 = self.client.show_server(self.s1['id'])['server'] - # Get first ip address inspite of v4 or v6 + # Get first ip address in spite of v4 or v6 ip_addr = self.s1['addresses'][self.fixed_network_name][0]['addr'] ip_list[ip_addr] = self.s1['id'] diff --git a/tempest/api/compute/servers/test_novnc.py b/tempest/api/compute/servers/test_novnc.py index 90b0665ca5..d9581e3c41 100644 --- a/tempest/api/compute/servers/test_novnc.py +++ b/tempest/api/compute/servers/test_novnc.py @@ -166,7 +166,7 @@ class NoVNCConsoleTestJSON(base.BaseV2ComputeTest): self._validate_novnc_html(body['url']) # Do the WebSockify HTTP Request to novncproxy to do the RFB connection self._websocket = compute.create_websocket(body['url']) - # Validate that we succesfully connected and upgraded to Web Sockets + # Validate that we successfully connected and upgraded to Web Sockets self._validate_websocket_upgrade() # Validate the RFB Negotiation to determine if a valid VNC session self._validate_rfb_negotiation() diff --git a/tempest/common/utils/linux/remote_client.py b/tempest/common/utils/linux/remote_client.py index 99a628eed5..52ccfa9601 100644 --- a/tempest/common/utils/linux/remote_client.py +++ b/tempest/common/utils/linux/remote_client.py @@ -70,7 +70,7 @@ class RemoteClient(remote_client.RemoteClient): if selected: return "\n".join(selected) else: - msg = "'TYPE' column is requred but the output doesn't have it: " + msg = "'TYPE' column is required but the output doesn't have it: " raise tempest.lib.exceptions.TempestException(msg + output) def get_boot_time(self):