code: def test_resolve_connection_spark_home_not_allowed_runtime_error(
      self,
  ):
      with pytest.raises(RuntimeError):
          SparkSubmitHook(conn_id="spark_home_set")
  
imports: from __future__ import annotations
  import os
  from io import StringIO
  from unittest.mock import call, patch
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.models import Connection
  from airflow.providers.apache.spark.hooks.spark_submit import SparkSubmitHook
  from airflow.utils import db
label_desc: Use image node_id 19 for calling the TestSparkSubmitHook obj's underlying member method code with example usage: obj.test_resolve_connection_spark_home_not_allowed_runtime_error() without return types