code: def test_resetting_value(self):
      # Simulate an upload, then resetting the value from the
      # kernel.
      uploader = FileUpload()
      message = {"value": [FILE_UPLOAD_FRONTEND_CONTENT]}
      uploader.set_state(message)
  
      uploader.value = []  # reset value to an empty file list
  
      assert uploader.get_state(key="value") == {"value": []}
  
file_path: catboost/contrib/python/ipywidgets/py3/ipywidgets/widgets/tests/test_widget_upload.py
imports: import datetime
  from unittest import TestCase
  from unittest.mock import MagicMock
  from traitlets import TraitError
  from ipywidgets import FileUpload
label_desc: Use image node_id 7 for calling the TestFileUpload obj's underlying member method code with example usage: obj.test_resetting_value() without return types