'If a different primary IP address is supplied and it identifies a node
which is already part of the cluster configuration, the modification
request succeeds and the dataset\'s primary becomes the given address.'

def test_change_primary_to_configured_node(self):

    expected_manifestation = _manifestation()
    node_a = Node(uuid=self.NODE_A_UUID, applications={}, manifestations={expected_manifestation.dataset_id: expected_manifestation})
    node_b = Node(uuid=self.NODE_B_UUID)
    deployment = Deployment(nodes=frozenset([node_a, node_b]))
    return self._test_change_primary(expected_manifestation.dataset, deployment, self.NODE_A_UUID, self.NODE_B_UUID)
