code: def test_get_resolved_values():
      from datalad.tests.utils_pytest import _get_resolved_flavors
  
      flavors = ["networkish", "local"]
      eq_(
          (
              []
              if dl_cfg.get("datalad.tests.nonetwork")
              else ["networkish"]
          )
          + ["local"],
          _get_resolved_flavors(flavors),
      )
  
      with patch_config({"datalad.tests.nonetwork": "1"}):
          eq_(_get_resolved_flavors(flavors), ["local"])
  
imports: import base64
  import logging
  import os
  import platform
  import random
  import sys
  from glob import glob
  from os.path import basename, exists
  from os.path import join
  from unittest.mock import patch
  from urllib.parse import quote
  from urllib.request import Request, urlopen
  import pytest
  from _pytest.outcomes import Failed, Skipped
  from datalad import cfg
  from datalad.support import path
  from datalad.support.gitrepo import GitRepo
  from datalad.tests.utils_pytest import OBSCURE_FILENAMES, OBSCURE_PREFIX, assert_cwd_unchanged, assert_dict_equal, assert_false, assert_in, assert_not_in, assert_raises, assert_re_in, assert_str_equal, assert_true, eq_, get_most_obscure_supported_name, ignore_nose_capturing_stdout, known_failure_githubci_win, known_failure_windows, local_testrepo_flavors, nok_startswith, ok_, ok_broken_symlink, ok_file_has_content, ok_file_under_git, ok_generator, ok_good_symlink, ok_startswith, ok_symlink, on_windows, patch_config, probe_known_failure, rmtemp, run_under_dir, serve_path_via_http, skip_if, skip_if_no_module, skip_if_no_network, skip_if_on_windows, skip_ssh, skip_wo_symlink_capability, swallow_logs, with_tempfile, with_testsui, with_tree, without_http_proxy
  from datalad.utils import Path, chpwd, getpwd
label_desc: Use image node_id 8 for calling a global function with example usage: test_get_resolved_values() without return types