code: def setup_method(self):
      if not hasattr(self, "data_generator") and hasattr(self, "space"):
          self.data_generator = RandomDataGenerator(self.space)
  
      if not hasattr(self, "image_data_generator") and hasattr(
          self, "image_space"
      ):
          self.image_data_generator = RandomDataGenerator(
              self.image_space
          )
  
imports: import pytest
  import geomstats.backend
  from geomstats.geometry.diffeo import AutodiffDiffeo
  from geomstats.test.random import RandomDataGenerator
  from geomstats.test.test_case import TestCase
  from geomstats.test.vectorization import generate_vectorization_data
label_desc: Use image node_id 1 for calling the DiffeoTestCase obj's underlying member method code with example usage: obj.setup_method() without return types