code: def bundle_spaces(request):
      n = request.param
  
      request.cls.total_space = total_space = GeneralLinear(
          n, equip=False
      )
      total_space.equip_with_metric(MatricesMetric)
  
      request.cls.base = SPDMatrices(n=n, equip=False)
  
      request.cls.bundle = GeneralLinearBuresWassersteinBundle(
          total_space
      )
  
file_path: geomstats/tests/tests_geomstats/test_geometry/test_fiber_bundle.py
imports: import random
  import pytest
  from geomstats.geometry.general_linear import GeneralLinear
  from geomstats.geometry.matrices import MatricesMetric
  from geomstats.geometry.spd_matrices import SPDMatrices
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test_cases.geometry.fiber_bundle import FiberBundleTestCase, GeneralLinearBuresWassersteinBundle
  from .data.fiber_bundle import GeneralLinearBuresWassersteinBundleTestData
label_desc: Use image node_id 1 for calling a global function with example usage: bundle_spaces(request) without return types