code: def test__global_path_default_exists_and_is_writable():
      home_dir = os.path.expanduser("~")
      assert Settings._global_path() == os.path.join(
          home_dir, ".config", "wandb", "settings"
      )
  
imports: import os
  from unittest import mock
  from wandb.old.settings import Settings
label_desc: Use image node_id 1 for calling a global function with example usage: test__global_path_default_exists_and_is_writable() without return types