code: def test_no_empty_http_proxy():
      # in __init__ we might prune http_proxy if it is empty, so it must not be
      # empty if present
      assert os.environ.get("http_proxy", "default")
      assert os.environ.get("https_proxy", "default")
  
file_path: datalad/datalad/tests/test_base.py
imports: import os
  import os.path
  import sys
  from unittest.mock import patch
  from datalad.cmd import WitlessRunner, StdOutErrCapture
  from datalad.tests.utils_pytest import SkipTest, assert_in, assert_raises, chpwd, get_dataset_root, ok_file_has_content, swallow_logs, with_tree
  from datalad.utils import get_home_envvars
label_desc: Use image node_id 3 for calling a global function with example usage: test_no_empty_http_proxy() without return types