def METHOD_NAME(self):
    for module in self.modules:
        if module.session_endpoint_id:
            self.suite.endpoints.append(self._make_session_endpoint(module.session_endpoint_id, module))
        if module.case_list_session_endpoint_id:
            self.suite.endpoints.append(self._make_session_endpoint(
                module.case_list_session_endpoint_id, module, None, False))
        if module.module_type != "shadow":
            for form in module.get_suite_forms():
                if form.session_endpoint_id:
                    self.suite.endpoints.append(self._make_session_endpoint(
                        form.session_endpoint_id, module, form))
        elif module.session_endpoint_id:
            for form in module.get_suite_forms():
                endpoint = next(
                    (m for m in module.form_session_endpoints if m.form_id == form.unique_id), None)
                if endpoint:
                    self.suite.endpoints.append(self._make_session_endpoint(
                        endpoint.session_endpoint_id, module, form))