code: def test_assignment(self, container: MetadataContainer):
      first, second = self.gen_key(), self.gen_key()
      filename = fake.unique.file_name()
  
      with tmp_context():
          with open(filename, "w", encoding="utf-8") as handler:
              handler.write(fake.paragraph(nb_sentences=5))
  
          container[first].track_files(filename)
          container.wait()
          container[second] = container[first].fetch()
          container.sync()
  
      assert (
          container[first].fetch_hash()
          == container[second].fetch_hash()
      )
      assert (
          container[first].fetch_files_list()
          == container[second].fetch_files_list()
      )
  
file_path: neptune-client/tests/e2e/standard/test_artifacts.py
imports: import os
  import tempfile
  from pathlib import Path, PurePosixPath
  import pytest
  from neptune.metadata_containers import MetadataContainer
  from tests.e2e.base import AVAILABLE_CONTAINERS, BaseE2ETest, fake
  from tests.e2e.utils import tmp_context, with_check_if_file_appears
label_desc: Use image node_id 2 for calling the TestArtifacts obj's underlying member method code with example usage: obj.test_assignment(container) without return types