docstr: Test server.folderWatchBlacklist
docstr_tok: ["Test","server.folderWatchBlacklist"]
code: def test_config_blacklist(self, fob):
      """Test server.folderWatchBlacklist"""
      prev_blacklist = config.get_option("server.folderWatchBlacklist")
  
      config.set_option(
          "server.folderWatchBlacklist",
          [os.path.dirname(DUMMY_MODULE_1.__file__)],
      )
  
      lso = local_sources_watcher.LocalSourcesWatcher(SCRIPT_PATH)
      lso.register_file_change_callback(NOOP_CALLBACK)
  
      fob.assert_called_once()
  
      sys.modules["DUMMY_MODULE_1"] = DUMMY_MODULE_1
      fob.reset_mock()
  
      lso.update_watched_modules()
  
      fob.assert_not_called()
  
      # Reset the config object.
      config.set_option("server.folderWatchBlacklist", prev_blacklist)
  
imports: import os
  import sys
  import unittest
  from unittest.mock import MagicMock, patch
  import tests.streamlit.watcher.test_data.dummy_module1
  import tests.streamlit.watcher.test_data.dummy_module2
  import tests.streamlit.watcher.test_data.misbehaved_module
  import tests.streamlit.watcher.test_data.nested_module_child
  import tests.streamlit.watcher.test_data.nested_module_parent
  from streamlit import config
  from streamlit.watcher import local_sources_watcher
  from streamlit.watcher.path_watcher import NoOpPathWatcher, watchdog_available
label_desc: Use image node_id 8 for calling the LocalSourcesWatcherTest obj's underlying member method code with example usage: obj.test_config_blacklist(fob) without return types