code: def test_import_variables_access_denied(session, app, viewer_client):
      content = '{"str_key": "str_value}'
      bytes_content = BytesIO(bytes(content, encoding="utf-8"))
  
      resp = viewer_client.post(
          "/variable/varimport",
          data={"file": (bytes_content, "test.json")},
          follow_redirects=True,
      )
      check_content_in_response("Access is Denied", resp)
  
imports: from __future__ import annotations
  from io import BytesIO
  from unittest import mock
  import pytest
  from airflow.models import Variable
  from airflow.security import permissions
  from airflow.utils.session import create_session
  from tests.test_utils.api_connexion_utils import create_user
  from tests.test_utils.www import _check_last_log, check_content_in_response, check_content_not_in_response, client_with_login
label_desc: Use image node_id 13 for calling a global function with example usage: test_import_variables_access_denied(session, app, viewer_client) without return types