docstr: setup any state tied to the execution of the given method in a
  class.  setup_method is invoked for every test method of a class.
docstr_tok: ["setup","any","state","tied","to","the","execution","of","the","given","method","in","a","class",".","setup_method","is","invoked","for","every","test","method","of","a","class","."]
code: def setup_method(self, method):
      """setup any state tied to the execution of the given method in a
      class.  setup_method is invoked for every test method of a class.
      """
      self.sc = init_nncontext(
          init_spark_conf()
          .setMaster("local[4]")
          .setAppName("test image set")
      )
      resource_path = os.path.join(
          os.path.split(__file__)[0], "../../resources"
      )
      self.image_path = os.path.join(resource_path, "pascal/000025.jpg")
      self.grayimage_path = os.path.join(resource_path, "gray/gray.bmp")
      self.image_folder = os.path.join(resource_path, "imagenet")
  
imports: import pytest
  import cv2
  from zoo.common.nncontext import *
  from zoo.feature.image import *
label_desc: Use image node_id 1 for calling the Test_Image_Set obj's underlying member method code with example usage: obj.setup_method(method) without return types