code: def test_linkpred_data(data):
      node_model = "gcn"
      edge_model = "ele"
      neg_sampler = "global"
      custom_cfg = (
          "_".join([data, node_model, edge_model, neg_sampler])
          + ".yaml"
      )
      os.system(
          "dgl configure linkpred --data {} --node-model {} --edge-model {} --neg-sampler {} --cfg {}".format(
              data, node_model, edge_model, neg_sampler, custom_cfg
          )
      )
      assert os.path.exists(custom_cfg)
  
      custom_script = (
          "_".join([data, node_model, edge_model, neg_sampler]) + ".py"
      )
      os.system(
          "dgl export --cfg {} --output {}".format(
              custom_cfg, custom_script
          )
      )
      assert os.path.exists(custom_script)
  
file_path: dgl/tests/go/test_pipeline.py
imports: import os
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_linkpred_data(data) without return types