'If a field used by policy is selected, do not duplicate it.
Verifies that if the field parameter explicitly specifies a field
which is used by the policy engine, then it is not duplicated
in the response.'

def test_list_with_fields_noadmin_and_policy_field(self):

    tenant_id = 'some_tenant'
    self._create_network(self.fmt, 'some_net', True, tenant_id=tenant_id, set_context=True)
    req = self.new_list_request('networks', params='fields=tenant_id')
    req.environ['neutron.context'] = context.Context('', tenant_id)
    res = req.get_response(self.api)
    self._check_list_with_fields(res, 'tenant_id')
