def test_api_pkg_versions_authed(self):
        package = make_package(self.package.name, '1.5')
        params = {
            'content': webtest.forms.Upload(package.filename, 'datadatadata'),
        }
        url = '/api/package/%s/%s' % (package.name, package.filename)
        response = self.app.post(url, params,
                                 headers=_auth('user2', 'user2'))
        self.assertEqual(response.status_int, 200)
Extends hosting information for a logical port.
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_security.py/TestEndpointSecurity.test_api_pkg_versions_authed--crossover with--dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/device_manager/plugging_drivers/__init__.py/PluginSidePluggingDriver.extend_hosting_port_info