Merge "Correct some misspelt words in print messages"

This commit is contained in:
Jenkins 2016-06-21 09:30:33 +00:00 committed by Gerrit Code Review
commit 000bb56b26
3 changed files with 5 additions and 5 deletions

View File

@ -661,7 +661,7 @@ class NetworkSecGroupService(NetworkService):
if self.is_preserve: if self.is_preserve:
secgroups = self._filter_by_conf_networks(secgroups) 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 return secgroups
def delete(self): def delete(self):

View File

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

View File

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