Merge "Remove unneeded 'wait=False' to be more clean and consistent"

This commit is contained in:
Jenkins
2016-03-18 04:00:44 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 3 deletions

View File

@@ -161,8 +161,7 @@ class AgentClient(object):
}
return self._command(node=node,
method='clean.execute_clean_step',
params=params,
wait=False)
params=params)
def power_off(self, node):
"""Soft powers off the bare metal node by shutting down ramdisk OS."""

View File

@@ -212,7 +212,7 @@ class TestAgentClient(base.TestCase):
ports)
self.client._command.assert_called_once_with(
node=self.node, method='clean.execute_clean_step',
params=expected_params, wait=False)
params=expected_params)
def test_power_off(self):
self.client._command = mock.MagicMock(spec_set=[])