Merge "Remove unneeded 'wait=False' to be more clean and consistent"
This commit is contained in:
@@ -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."""
|
||||
|
@@ -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=[])
|
||||
|
Reference in New Issue
Block a user