class_docstr: construct_dgl_client_env_vars()
class_docstr_tok: ["construct_dgl_client_env_vars","(",")"]
code: def test_simple(self):
      # with pythonpath
      self.assertEqual(
          construct_dgl_client_env_vars(
              num_samplers=1,
              tot_num_clients=2,
              part_config="path/to/part.config",
              ip_config="path/to/ip.config",
              num_servers=3,
              graph_format="csc",
              num_omp_threads=4,
              group_id=0,
              pythonpath="some/pythonpath/",
          ),
          (
              "DGL_DIST_MODE=distributed "
              "DGL_ROLE=client "
              "DGL_NUM_SAMPLER=1 "
              "DGL_NUM_CLIENT=2 "
              "DGL_CONF_PATH=path/to/part.config "
              "DGL_IP_CONFIG=path/to/ip.config "
              "DGL_NUM_SERVER=3 "
              "DGL_GRAPH_FORMAT=csc "
              "OMP_NUM_THREADS=4 "
              "DGL_GROUP_ID=0 "
              "PYTHONPATH=some/pythonpath/ "
          ),
      )
      # without pythonpath
      self.assertEqual(
          construct_dgl_client_env_vars(
              num_samplers=1,
              tot_num_clients=2,
              part_config="path/to/part.config",
              ip_config="path/to/ip.config",
              num_servers=3,
              graph_format="csc",
              num_omp_threads=4,
              group_id=0,
          ),
          (
              "DGL_DIST_MODE=distributed "
              "DGL_ROLE=client "
              "DGL_NUM_SAMPLER=1 "
              "DGL_NUM_CLIENT=2 "
              "DGL_CONF_PATH=path/to/part.config "
              "DGL_IP_CONFIG=path/to/ip.config "
              "DGL_NUM_SERVER=3 "
              "DGL_GRAPH_FORMAT=csc "
              "OMP_NUM_THREADS=4 "
              "DGL_GROUP_ID=0 "
          ),
      )
  
file_path: dgl/tests/tools/test_launch.py
imports: import json
  import os
  import tempfile
  import unittest
  from launch import *
label_desc: Use image node_id 1 for calling the TestConstructDglClientEnvVars obj's underlying member method code with example usage: obj.test_simple() without return types