def test_unknown_applications(self):
        api = ApplicationNodeDeployer(
            u'node1.example.com',
            docker_client=FakeDockerClient(),
            network=make_memory_network()
        )

        postgres_app = Application(
            name=u'postgres-example',
            image=DockerImage.from_string(u'docker/postgres:latest'),
        )
        node = Node(
            hostname=api.hostname, applications={postgres_app})
        desired = Deployment(nodes=[node])

        node_state = NodeState(hostname=api.hostname, applications=None)
        result = api.calculate_changes(desired, DeploymentState(
            nodes=[node_state]),
            local_state=NodeLocalState(node_state=node_state),
        )
        self.assertEqual(result, sequentially(changes=[]))
If application state for local state is unknown, don't do anything.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/test/test_container.py/ApplicationNodeDeployerCalculateChangesTests.test_unknown_applications