code: def test_reset_fileset(self, container: MetadataContainer):
      key = self.gen_key()
      filename1 = fake.file_name()
      filename2 = fake.file_name()
      content1 = os.urandom(random.randint(SIZE_1KB, 100 * SIZE_1KB))
      content2 = os.urandom(random.randint(SIZE_1KB, 100 * SIZE_1KB))
  
      with tmp_context():
          # create file1 and file2
          with open(filename1, "wb") as file1, open(
              filename2, "wb"
          ) as file2:
              file1.write(content1)
              file2.write(content2)
  
          # upload file1 to initial fileset
          container[key].upload_files(filename1)
  
          # then replace [file1] set with [file2] to the same key
          container.sync()
          container[key] = FileSet([filename2])
  
          # check if there's content of SECOND uploaded file
          container.sync()
          container[key].download("downloaded.zip")
          with ZipFile("downloaded.zip") as zipped:
              assert set(zipped.namelist()) == {filename2, "/"}
              with zipped.open(filename2, "r") as file:
                  content = file.read()
                  assert len(content) == len(content2)
                  assert content == content2
  
imports: import io
  import os
  import random
  import uuid
  from itertools import product
  from typing import Set
  from unittest.mock import Mock
  from zipfile import ZipFile
  import pytest
  from neptune.internal.backends import hosted_file_operations
  from neptune.internal.backends.api_model import MultipartConfig, OptionalFeatures
  from neptune.internal.backends.hosted_neptune_backend import HostedNeptuneBackend
  from neptune.internal.types.file_types import FileType
  from neptune.metadata_containers import MetadataContainer
  from neptune.types import File, FileSet
  from tests.e2e.base import AVAILABLE_CONTAINERS, BaseE2ETest, fake
  from tests.e2e.plot_utils import generate_altair_chart, generate_brokeh_figure, generate_matplotlib_figure, generate_pil_image, generate_plotly_figure, generate_seaborn_figure
  from tests.e2e.utils import SIZE_1KB, SIZE_1MB, initialize_container, preserve_cwd, tmp_context
label_desc: Use image node_id 6 for calling the TestFileSet obj's underlying member method code with example usage: obj.test_reset_fileset(container) without return types