code: def test_node_cora():
      os.system("dgl configure nodepred --data cora --model gcn")
      os.system("dgl train --cfg nodepred_cora_gcn.yaml")
      assert os.path.exists("results")
      assert os.path.exists("results/run_0.pth")
      os.system("dgl configure-apply nodepred --cpt results/run_0.pth")
      assert os.path.exists("apply_nodepred_cora_gcn.yaml")
      os.system(
          "dgl configure-apply nodepred --data cora --cpt results/run_0.pth --cfg apply.yaml"
      )
      assert os.path.exists("apply.yaml")
      os.system("dgl apply --cfg apply.yaml")
      assert os.path.exists("apply_results/output.csv")
      os.system("dgl export --cfg apply.yaml --output apply.py")
      assert os.path.exists("apply.py")
  
file_path: dgl/tests/go/test_pipeline.py
imports: import os
  import pytest
label_desc: Use image node_id 11 for calling a global function with example usage: test_node_cora() without return types