def test_create_container_with_links(self):
        request_data = [{
            u"node_uuid": self.NODE_A, u"name": u"webserver",
            u"image": u"nginx", u"links": [
                {
                    u'alias': u'postgres',
                    u'local_port': 5432,
                    u'remote_port': 54320
                },
                {
                    u'alias': u'mysql',
                    u'local_port': 3306,
                    u'remote_port': 33060
                },
            ]
        }]
        node_data = {
            Node(
                uuid=self.NODE_A_UUID,
                applications=[
                    Application(
                        name='webserver',
                        image=DockerImage.from_string('nginx'),
                        links=frozenset([
                            Link(
                                local_port=5432,
                                remote_port=54320,
                                alias="postgres"
                            ),
                            Link(
                                local_port=3306,
                                remote_port=33060,
                                alias="mysql"
                            ),
                        ])
                    ),
                ]
            ),
            Node(uuid=self.NODE_B_UUID),
        }
        return self._test_create_container(request_data, node_data)
Test that no_proxy does not affect conary proxies (CNY-3349)
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/CreateContainerTestsMixin.test_create_container_with_links--crossover with--dataset/ETHPy150Open sassoftware/conary/conary_test/repositorytest/transporttest.py/TransportTest.testProxyBypassConary