'All datasets on the node are added to ``NodeState.manifestations``.'

def test_discover_datasets(self):

    api = self._setup_datasets()
    d = api.discover_state(DeploymentState(nodes={self.EMPTY_NODESTATE}), persistent_state=PersistentState())
    self.assertEqual({self.DATASET_ID: Manifestation(dataset=Dataset(dataset_id=self.DATASET_ID), primary=True), self.DATASET_ID2: Manifestation(dataset=Dataset(dataset_id=self.DATASET_ID2), primary=True)}, self.successResultOf(d).node_state.manifestations)
