Merge "Correct some misspelt words in print messages"
This commit is contained in:
commit
000bb56b26
@ -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):
|
||||||
|
@ -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)
|
||||||
|
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user