class_docstr: Test basic functionality of the central config object.
docstr: Test that config paths from subprocesses load properly.
  
  Satpy modifies the config path environment variable when it is imported.
  If Satpy is imported again from a subprocess then it should be able to parse this
  modified variable.
docstr_tok: ["Test","that","config","paths","from","subprocesses","load","properly",".","Satpy","modifies","the","config","path","environment","variable","when","it","is","imported",".","If","Satpy","is","imported","again","from","a","subprocess","then","it","should","be","able","to","parse","this","modified","variable","."]
code: def test_config_path_multiple_load(self):
      """Test that config paths from subprocesses load properly.
  
      Satpy modifies the config path environment variable when it is imported.
      If Satpy is imported again from a subprocess then it should be able to parse this
      modified variable.
      """
      from importlib import reload
  
      import satpy
  
      exp_paths, env_paths = _os_specific_multipaths()
      old_vars = {
          "SATPY_CONFIG_PATH": env_paths,
      }
  
      with mock.patch.dict("os.environ", old_vars):
          # these reloads will update env variable "SATPY_CONFIG_PATH"
          reload(satpy._config)
          reload(satpy)
  
          # load the updated env variable and parse it again.
          reload(satpy._config)
          reload(satpy)
          assert satpy.config.get("config_path") == exp_paths
  
imports: from __future__ import annotations
  import contextlib
  import os
  import sys
  import unittest
  from importlib.metadata import EntryPoint
  from pathlib import Path
  from typing import Callable, Iterator
  from unittest import mock
  import pytest
  import satpy
  from satpy import DatasetDict
  from satpy._config import cached_entry_point
  from satpy.composites.config_loader import load_compositor_configs_for_sensors
label_desc: Use image node_id 4 for calling the TestConfigObject obj's underlying member method code with example usage: obj.test_config_path_multiple_load() without return types