'``NodeStateCommand`` updates the node state.'

def test_nodestate_updates_node_state(self):

    changes = (NODE_STATE, NONMANIFEST)
    self.successResultOf(self.client.callRemote(NodeStateCommand, state_changes=changes, eliot_context=TEST_ACTION))
    self.assertEqual(DeploymentState(nodes={NODE_STATE}, nonmanifest_datasets=NONMANIFEST.datasets), self.control_amp_service.cluster_state.as_deployment())
