docstr: "Test injection of valid config2 from a different folder.
          
docstr_tok: ["``","Test","injection","of","valid","config2","from","a","different","folder","."]
code: def test_config2(self):
      """ "Test injection of valid config2 from a different folder."""
      # Create system call.
      call = "python tests/hydra/my_app.py --config-path config_subdir --config-name config2.yaml"
  
      # Run the call as subprocess.
      subprocess.check_call(
          call, shell=True, stdout=sys.stdout, stderr=sys.stdout
      )
  
      # Make sure that .hydra dir is not present.
      assert not path.exists(f".hydra")
      # Make sure that default hydra log file is not present.
      assert not path.exists(f"my_app.log")
  
file_path: NeMo/tests/hydra/test_hydra_runner.py
imports: import subprocess
  import sys
  from os import path
  import pytest
label_desc: Use image node_id 4 for calling the TestHydraRunner obj's underlying member method code with example usage: obj.test_config2() without return types