Remove redundant "and" in docstrings
Change-Id: I8011975a192f0e9affc842397efaf73882294827 Closes-Bug: #1510903
This commit is contained in:
parent
027ffaff2d
commit
1ab201cb8c
|
@ -42,7 +42,7 @@ class CloudValidationTest(nmanager.OfficialClientTest):
|
|||
self.check_clients_state()
|
||||
|
||||
def _run_ssh_cmd(self, host, cmd):
|
||||
"""Open SSH session with host and and execute command."""
|
||||
"""Open SSH session with host and execute command."""
|
||||
try:
|
||||
sshclient = SSHClient(host, self.usr, self.pwd,
|
||||
key_filename=self.key, timeout=self.timeout)
|
||||
|
@ -52,7 +52,7 @@ class CloudValidationTest(nmanager.OfficialClientTest):
|
|||
self.fail("%s command failed." % cmd)
|
||||
|
||||
def _run_ssh_cmd_with_exit_code(self, host, cmd):
|
||||
"""Open SSH session with host and and execute command.
|
||||
"""Open SSH session with host and execute command.
|
||||
Fail if exit code != 0
|
||||
"""
|
||||
try:
|
||||
|
|
|
@ -363,7 +363,7 @@ class TestPacemakerBase(BaseTestCase):
|
|||
self.skipTest('There are no controller nodes')
|
||||
|
||||
def _run_ssh_cmd(self, host, cmd):
|
||||
"""Open SSH session with host and and execute command."""
|
||||
"""Open SSH session with host and execute command."""
|
||||
try:
|
||||
sshclient = ssh.Client(host, self.controller_user,
|
||||
self.controllers_pwd,
|
||||
|
@ -375,7 +375,7 @@ class TestPacemakerBase(BaseTestCase):
|
|||
self.fail("%s command failed." % cmd)
|
||||
|
||||
def _run_ssh_cmd_with_exit_code(self, host, cmd):
|
||||
"""Open SSH session with host and and execute command.
|
||||
"""Open SSH session with host and execute command.
|
||||
Fail if exit code != 0
|
||||
"""
|
||||
try:
|
||||
|
|
|
@ -535,7 +535,7 @@ class NovaNetworkScenarioTest(OfficialClientTest):
|
|||
self.check_clients_state()
|
||||
|
||||
def _run_ssh_cmd(self, cmd):
|
||||
"""Open SSH session with Controller and and execute command."""
|
||||
"""Open SSH session with Controller and execute command."""
|
||||
if not self.host:
|
||||
self.fail('Wrong test configuration: '
|
||||
'"online_controllers" parameter is empty.')
|
||||
|
|
Loading…
Reference in New Issue