def _get_allowed_address_pair_fixed_ips(self, port_dict):
        aa_pair_fixed_ips = []
        if port_dict.get('allowed_address_pairs'):
            for address_pair in port_dict['allowed_address_pairs']:
                aap_ip_cidr = address_pair['ip_address'].split("/")
                if len(aap_ip_cidr) == 1 or int(aap_ip_cidr[1]) == 32:
                    aa_pair_fixed_ips.append(aap_ip_cidr[0])
        return aa_pair_fixed_ips
Test the view's get_queryset() method
dataset/ETHPy150Open openstack/neutron/neutron/db/l3_dvr_db.py/L3_NAT_with_dvr_db_mixin._get_allowed_address_pair_fixed_ips--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/accounts/tests/test_views.py/UpdateUserPermissionViewTest.test_get_queryset