'Binding information is provided, no subnets.'

def test_port_create_with_binding_and_no_subnets(self):

    with self.network() as network:
        segment = self._test_create_segment(network_id=network['network']['id'], physical_network='physnet', network_type=p_constants.TYPE_VLAN)
    self._setup_host_mappings([(segment['segment']['id'], 'fakehost')])
    response = self._create_port(self.fmt, net_id=network['network']['id'], tenant_id=network['network']['tenant_id'], arg_list=(portbindings.HOST_ID,), **{portbindings.HOST_ID: 'fakehost'})
    res = self.deserialize(self.fmt, response)
    self.assertEqual(0, len(res['port']['fixed_ips']))
