def test_link_environment(self):
        environment = _link_environment(
            protocol="tcp",
            alias="somealias",
            local_port=80,
            hostname=u"the-host",
            remote_port=8080)
        self.assertEqual(
            environment,
            {
                u'SOMEALIAS_PORT_80_TCP': u'tcp://the-host:8080',
                u'SOMEALIAS_PORT_80_TCP_PROTO': u'tcp',
                u'SOMEALIAS_PORT_80_TCP_ADDR': u'the-host',
                u'SOMEALIAS_PORT_80_TCP_PORT': u'8080',
            })
The outputs parameters and their dimensions are defined so this function
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/test/test_container.py/LinkEnviromentTests.test_link_environment--crossover with--dataset/ETHPy150Open rca/PySPICE/mkwrapper.py/make_automatic_returnVal