code: def test_kg_reverse_r(self):
      config_dict = {
          "model": "KGAT",
          "dataset": "kg_reverse_r",
          "kg_reverse_r": True,
          "data_path": current_path,
          "load_col": None,
      }
      dataset = new_dataset(config_dict=config_dict)
      relation_list = dataset.token2id(
          "relation_id", ["ra", "rb", "ra_r", "rb_r"]
      )
      assert (relation_list == [1, 2, 5, 6]).all()
      assert dataset.relation_num == 10
  
imports: import logging
  import os
  import pytest
  from recbole.config import Config
  from recbole.data import create_dataset
  from recbole.utils import init_seed
label_desc: Use image node_id 2 for calling the TestKGDataset obj's underlying member method code with example usage: obj.test_kg_reverse_r() without return types