code: def test_has_access_fab_with_multiple_dags_render_error(
      self,
      mock_has_access,
      mock_render_template,
      mock_sm,
      mock_appbuilder,
      app,
  ):
      app.appbuilder = mock_appbuilder
      with app.test_request_context() as mock_context:
          mock_context.request.args = {"dag_id": "dag1"}
          mock_context.request.form = {"dag_id": "dag2"}
          decorated_has_access_fab()
  
      mock_sm.check_authorization.assert_not_called()
      mock_has_access.assert_not_called()
      mock_render_template.assert_called_once()
  
file_path: airflow/tests/providers/fab/auth_manager/decorators/test_auth.py
imports: from __future__ import annotations
  from unittest.mock import Mock, patch
  import pytest
  from airflow.api_connexion.exceptions import PermissionDenied
  from airflow.providers.fab.auth_manager.decorators.auth import _has_access_fab, _requires_access_fab
  from airflow.security.permissions import ACTION_CAN_READ, RESOURCE_DAG
  from airflow.www import app
label_desc: Use image node_id 6 for calling the TestFabAuthManagerDecorators obj's underlying member method code with example usage: obj.test_has_access_fab_with_multiple_dags_render_error(mock_has_access, mock_render_template, mock_sm, mock_appbuilder, app) without return types