Correct some misspelt words in print messages

exceution (execution)
securtiy (security)
failled (failed)

Change-Id: I65b33d3900dab70ac202515adebde383c1155609
This commit is contained in:
zhufl 2016-06-20 11:39:01 +08:00
parent fb77374dde
commit bedb2ad9d2
3 changed files with 5 additions and 5 deletions

View File

@ -661,7 +661,7 @@ class NetworkSecGroupService(NetworkService):
if self.is_preserve:
secgroups = self._filter_by_conf_networks(secgroups)
LOG.debug("List count, %s securtiy_groups" % len(secgroups))
LOG.debug("List count, %s security_groups" % len(secgroups))
return secgroups
def delete(self):

View File

@ -70,7 +70,7 @@ class TempestRun(command.Command):
def take_action(self, parsed_args):
self._set_env()
# Local exceution mode
# Local execution mode
if os.path.isfile('.testr.conf'):
# If you're running in local execution mode and there is not a
# testrepository dir create one
@ -80,7 +80,7 @@ class TempestRun(command.Command):
if returncode:
sys.exit(returncode)
else:
print("No .testr.conf file was found for local exceution")
print("No .testr.conf file was found for local execution")
sys.exit(2)
regex = self._build_regex(parsed_args)

View File

@ -41,8 +41,8 @@ class TestTempestWorkspace(TestTempestWorkspaceBase):
stderr=subprocess.PIPE)
stdout, stderr = process.communicate()
return_code = process.returncode
msg = ("%s failled with:\nstdout: %s\nstderr: %s" % (' '.join(cmd),
stdout, stderr))
msg = ("%s failed with:\nstdout: %s\nstderr: %s" % (' '.join(cmd),
stdout, stderr))
self.assertEqual(return_code, expected, msg)
def test_run_workspace_list(self):