code: def setup(self):
      for i, graph in enumerate([LOOP, LONG_CHAIN]):
          for row in graph:
              subj = Vertex(f"{URL}#{row[0]}")
              obj = Vertex((f"{URL}#{row[2]}"))
              pred = Vertex(
                  (f"{URL}#{row[1]}"),
                  predicate=True,
                  vprev=subj,
                  vnext=obj,
              )
              if i == 0:
                  KG_LOOP.add_walk(subj, pred, obj)
              else:
                  KG_CHAIN.add_walk(subj, pred, obj)
  
file_path: pyRDF2Vec/tests/walkers/test_community.py
imports: import itertools
  import pytest
  from pyrdf2vec.graphs import KG, Vertex
  from pyrdf2vec.walkers import CommunityWalker
label_desc: Use image node_id 1 for calling the TestCommunityWalker obj's underlying member method code with example usage: obj.setup() without return types