259
259
self.assertEqual((NODE_STATUS.READY, None), (node.status, node.owner))
267
self.patch(PowerAction, 'run_shell', lambda *args, **kwargs: ('', ''))
261
273
def test_accept_enlistment_gets_node_out_of_declared_state(self):
262
274
# If called on a node in Declared state, accept_enlistment()
263
275
# changes the node's status, and returns the node.