code: def test_spark_config_with_invalid_spark_event_logs_uri():
      with pytest.raises(ValueError):
          SparkConfig(configuration={"invalid_key": "invalid_value"})
  
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.remote_function.spark_config import SparkConfig
label_desc: Use image node_id 2 for calling a global function with example usage: test_spark_config_with_invalid_spark_event_logs_uri() without return types