code: def test_update_uploaded_file_updates_uploaded_bytes(self):
      s = stats.Stats()
      s.init_file("foo", 10)
      s.update_uploaded_file("foo", 7)
      assert s.summary() == stats.Summary(
          uploaded_bytes=7, total_bytes=10, deduped_bytes=0
      )
  
file_path: wandb/tests/pytest_tests/unit_tests/test_file_stats.py
imports: import pytest
  from wandb.filesync import stats
label_desc: Use image node_id 2 for calling the TestSummary obj's underlying member method code with example usage: obj.test_update_uploaded_file_updates_uploaded_bytes() without return types