code: def setup_method(self):
      if not hasattr(self, "data_generator"):
          self.data_generator = RandomDataGenerator(self.space)
  
imports: import math
  import pytest
  import geomstats.backend
  from geomstats.test.random import RandomDataGenerator, get_random_times
  from geomstats.test.test_case import TestCase
  from geomstats.test.utils import IdentityPointTransformer
  from geomstats.test.vectorization import generate_vectorization_data
  from geomstats.vectorization import get_batch_shape
label_desc: Use image node_id 1 for calling the ConnectionTestCase obj's underlying member method code with example usage: obj.setup_method() without return types