'``P2PManifestationDeployer.calculate_changes`` results in dataset
handoff even if there is a lease on the dataset as long as that
lease is for the same node as the destination.'

def test_handoff_if_leased_on_destination_node(self):

    changes = self.changes_when_leased(MANIFESTATION, MANIFESTATION, self.NODE_ID, self.NODE_ID, self.NODE_ID2)
    expected = sequentially(changes=[in_parallel(changes=[HandoffDataset(dataset=MANIFESTATION.dataset, hostname=self.NODE_HOSTNAMES[self.NODE_ID])])])
    self.assertEqual(expected, changes)
