'The keys of the ``nonmanifest_datasets`` attribute must match the
value\'s ``dataset_id`` attribute.'

def test_nonmanifest_datasets_keys_are_their_ids(self):

    self.assertRaises(InvariantException, DeploymentState, nonmanifest_datasets={u'123': MANIFESTATION.dataset})
