def test_unknown_applications(self):
        uuid = uuid4()
        dataset_id = unicode(uuid4())
        dataset = Dataset(
            dataset_id=dataset_id,
            maximum_size=int(GiB(1).to_Byte().value)
        )
        manifestation = Manifestation(
            dataset=dataset, primary=True
        )
        node = u"192.0.2.1"
        configuration = Deployment(
            nodes={
                Node(
                    uuid=uuid,
                    manifestations={dataset_id: manifestation},
                )
            }
        )
        state = DeploymentState(nodes=[NodeState(
            uuid=uuid, hostname=node, applications=None, manifestations={},
            devices={}, paths={})])
        deployer = create_blockdevicedeployer(
            self, hostname=node, node_uuid=uuid,
        )
        local_state = local_state_from_shared_state(
            node_state=state.get_node(uuid),
            nonmanifest_datasets={}
        )
        changes = deployer.calculate_changes(configuration, state, local_state)
        self.assertEqual(
            in_parallel(
                changes=[
                    CreateBlockDeviceDataset(
                        dataset_id=UUID(dataset_id),
                        maximum_size=int(GiB(1).bytes)
                    )
                ]),
            changes
        )
If applications are unknown, block devices can still be created.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/test/test_blockdevice.py/BlockDeviceDeployerCreationCalculateChangesTests.test_unknown_applications