code: def test_permute(self, space, graph, permutation, expected):
      permuted_graph = space.permute(graph, permutation)
      self.assertAllClose(permuted_graph, expected)
  
imports: import networkx
  import pytest
  import geomstats.backend
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test.test_case import TestCase
  from geomstats.test_cases.geometry.stratified.point_set import PointSetMetricTestCase, PointSetTestCase, PointTestCase
  from .data.graph_space import AlignerTestData, DecoratorsTestData, GraphSpaceMetricTestData, GraphSpaceTestData, GraphTestData, PointToGeodesicAlignerTestData
label_desc: Use image node_id 3 for calling the TestGraphSpace obj's underlying member method code with example usage: obj.test_permute(space, graph, permutation, expected) without return types