code: def create_spark_package(self, artifact_name):
      group_id, artifact_id, version = artifact_name.split(":")
      self.createTempFile(
          "%s-%s.pom" % (artifact_id, version),
          (
              """
              |<?xml version="1.0" encoding="UTF-8"?>
              |<project xmlns="http://maven.apache.org/POM/4.0.0"
              |       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              |       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
              |       http://maven.apache.org/xsd/maven-4.0.0.xsd">
              |   <modelVersion>4.0.0</modelVersion>
              |   <groupId>%s</groupId>
              |   <artifactId>%s</artifactId>
              |   <version>%s</version>
              |</project>
              """
              % (group_id, artifact_id, version)
          ).lstrip(),
          os.path.join(group_id, artifact_id, version),
      )
      self.createFileInZip(
          "%s.py" % artifact_id,
          """
              |def myfunc(x):
              |    return x + 1
              """,
          ".jar",
          os.path.join(group_id, artifact_id, version),
          "%s-%s" % (artifact_id, version),
      )
  
imports: import os
  import re
  import shutil
  import subprocess
  import tempfile
  import unittest
  import zipfile
  from pyspark.testing.utils import SPARK_HOME
label_desc: Use image node_id 5 for calling the SparkSubmitTests obj's underlying member method code with example usage: obj.create_spark_package(artifact_name) without return types