'Test IPv6 SLAAC subnet delete when a port is still using subnet.'

def test_delete_subnet_ipv6_slaac_port_exists(self):

    (subnet, port) = self._create_slaac_subnet_and_port()
    req = self.new_delete_request('subnets', subnet['subnet']['id'])
    res = req.get_response(self.api)
    self.assertEqual(webob.exc.HTTPNoContent.code, res.status_int)
    req = self.new_show_request('ports', port['port']['id'], self.fmt)
    res = req.get_response(self.api)
    sport = self.deserialize(self.fmt, req.get_response(self.api))
    self.assertEqual(0, len(sport['port']['fixed_ips']))
