def METHOD_NAME(self):
    self.request.user = AdminFactory()
    permission = PermissionFactory(
        codename='add_userretirementrequest',
        content_type=ContentTypeFactory(
            app_label='user_api'
        )
    )
    self.request.user.user_permissions.add(permission)
    result = CanRetireUser().has_permission(self.request, None)
    assert result