code: def test_config_basic_write(self):
      test_dir = tempfile.mkdtemp()
      config_file = join(test_dir, "test_config")
      os.environ["TURI_CONFIG_FILE"] = config_file
  
      try:
          self.assertEqual(get_config_file(), config_file)
          write_config_file_value(
              "TURI_FILE_TEST_VALUE", "this-is-a-test"
          )
          setup_environment_from_config_file()
          self.assertEqual(
              os.environ["TURI_FILE_TEST_VALUE"], "this-is-a-test"
          )
      finally:
          shutil.rmtree(test_dir)
          del os.environ["TURI_CONFIG_FILE"]
  
file_path: turicreate/src/python/turicreate/test/test_environment_config.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from .._sys_util import get_config_file
  from .._sys_util import setup_environment_from_config_file
  from .._sys_util import write_config_file_value
  import unittest
  import tempfile
  from os.path import join
  import os
  import shutil
  import pytest
label_desc: Use image node_id 1 for calling the EnvironmentConfigTester obj's underlying member method code with example usage: obj.test_config_basic_write() without return types