def test_nonmanifest_and_manifest(self):
        expected_nonmanifest_dataset = Dataset(dataset_id=unicode(uuid4()))
        expected_manifest_dataset = Dataset(dataset_id=unicode(uuid4()))
        expected_manifestation = Manifestation(
            dataset=expected_manifest_dataset, primary=True
        )
        expected_hostname = u"192.0.2.101"
        expected_uuid = uuid4()
        self.cluster_state_service.apply_changes([
            NodeState(
                hostname=expected_hostname,
                uuid=expected_uuid,
                manifestations={
                    expected_manifest_dataset.dataset_id:
                    expected_manifestation},
                paths={
                    expected_manifest_dataset.dataset_id:
                    FilePath(b"/path/dataset")
                },
                devices={

                },
            ),
            NonManifestDatasets(
                datasets={
                    expected_nonmanifest_dataset.dataset_id:
                    expected_nonmanifest_dataset
                }
            )
        ])
        expected_nonmanifest_dict = dict(
            dataset_id=expected_nonmanifest_dataset.dataset_id,
        )

        expected_manifest_dict = dict(
            dataset_id=expected_manifest_dataset.dataset_id,
            primary=unicode(expected_uuid),
            path=u"/path/dataset",
        )

        response = [
            expected_manifest_dict,
            expected_nonmanifest_dict
        ]
        return self.assertResult(
            b"GET", b"/state/datasets", None, OK, response
        )
Input:  {}
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/DatasetsStateTestsMixin.test_nonmanifest_and_manifest--crossover with--dataset/ETHPy150Open ctuning/ck/ck/repo/module/index/module.py/off