class_docstr: wrap_cmd_with_local_envvars()
class_docstr_tok: ["wrap_cmd_with_local_envvars","(",")"]
code: def test_simple(self):
      self.assertEqual(
          wrap_cmd_with_local_envvars(
              "ls && pwd", "VAR1=value1 VAR2=value2"
          ),
          "(export VAR1=value1 VAR2=value2; ls && pwd)",
      )
  
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 TestWrapCmdWithLocalEnvvars obj's underlying member method code with example usage: obj.test_simple() without return types