code: def setUpClass(cls):
      super(ArtifactTests, cls).setUpClass()
      cls.artifact_manager: ArtifactManager = (
          cls.spark._client._artifact_manager
      )
      cls.base_resource_dir = os.path.join(SPARK_HOME, "data")
      cls.artifact_file_path = os.path.join(
          cls.base_resource_dir,
          "artifact-tests",
      )
      cls.artifact_crc_path = os.path.join(
          cls.artifact_file_path,
          "crc",
      )
  
imports: import hashlib
  import shutil
  import tempfile
  import unittest
  import os
  from pyspark.errors.exceptions.connect import SparkConnectGrpcException
  from pyspark.sql import SparkSession
  from pyspark.testing.connectutils import ReusedConnectTestCase, should_test_connect
  from pyspark.testing.utils import SPARK_HOME
  from pyspark import SparkFiles
  from pyspark.sql.functions import udf
label_desc: Use image node_id 2 for calling the ArtifactTests obj's underlying member method code with example usage: obj.setUpClass(cls) without return types