class_docstr: Test the config system.
class_docstr_tok: ["Test","the","config","system","."]
docstr: Test config._update_config_with_sensitive_env_var().
code: def test_parsing_sensitive_options(self):
      """Test config._update_config_with_sensitive_env_var()."""
      # Some useful variables.
      DUMMY_VAL_1, DUMMY_VAL_2 = "Adam", "Malysz"
  
      # Create a dummy default option.
      config._create_option(
          "_test.sensitiveTest",
          description="This sensitive option tests the config parser.",
          default_val=DUMMY_VAL_1,
          sensitive=True,
      )
      config.get_config_options(force_reparse=True)
      self.assertEqual(
          config.get_option("_test.sensitiveTest"), DUMMY_VAL_1
      )
      self.assertEqual(
          config.get_where_defined("_test.sensitiveTest"),
          ConfigOption.DEFAULT_DEFINITION,
      )
      with patch.dict(
          os.environ, STREAMLIT__TEST_SENSITIVE_TEST=DUMMY_VAL_2
      ):
          config.get_config_options(force_reparse=True)
          self.assertEqual(
              config.get_option("_test.sensitiveTest"), DUMMY_VAL_2
          )
          self.assertEqual(
              config.get_where_defined("_test.sensitiveTest"),
              config._DEFINED_BY_ENV_VAR,
          )
  
imports: import copy
  import os
  import textwrap
  import unittest
  from unittest.mock import MagicMock, mock_open, patch
  import pytest
  from parameterized import parameterized
  from streamlit import config, env_util
  from streamlit.config_option import ConfigOption
  from streamlit.errors import StreamlitAPIException
label_desc: Use image node_id 16 for calling the ConfigTest obj's underlying member method code with example usage: obj.test_parsing_sensitive_options() without return types