'If a blockdevice associated to a dataset doesn\'t exist, but the dataset
is registered as owning a blockdevice, the dataset is reported as
``REGISTERED``.'

def test_registered(self):

    dataset_id = uuid4()
    assert_discovered_state(self, self.deployer, persistent_state=PersistentState(blockdevice_ownership={dataset_id: u'no-such-volume'}), expected_discovered_datasets=[DiscoveredDataset(state=DatasetStates.REGISTERED, dataset_id=dataset_id, blockdevice_id=u'no-such-volume')])
