'``deleted`` key is set to True if the dataset is deleted.'

def test_deleted(self):

    dataset = Dataset(dataset_id=unicode(uuid4()), deleted=True)
    expected_uuid = (uuid4(),)
    expected = dict(dataset_id=dataset.dataset_id, primary=unicode(expected_uuid), metadata={}, deleted=True)
    self.assertEqual(expected, api_dataset_from_dataset_and_node(dataset, expected_uuid))
