'No binding information is provided, subnets on segments'

def test_port_update_excludes_hosts_on_segments(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)
    port = self._create_deferred_ip_port(network)
    with self.subnet(network=network, segment_id=segment['segment']['id']) as subnet:
        data = {'port': {'fixed_ips': [{'subnet_id': subnet['subnet']['id']}]}}
        port_id = port['port']['id']
        port_req = self.new_update_request('ports', data, port_id)
        response = port_req.get_response(self.api)
    self.assertEqual(webob.exc.HTTPBadRequest.code, response.status_int)
