code: def test_progress_increment(attr):
      p = _Progress()
      fn = getattr(p, f"increment_{attr}")
      fn()
      expected = _ProcessedTracker(**{attr: 1})
      assert p.total == expected
      assert p.current == expected
  
file_path: pytorch-lightning/tests/tests_pytorch/loops/test_progress.py
imports: from copy import deepcopy
  import pytest
  from lightning.pytorch.loops.progress import _BaseProgress, _OptimizerProgress, _ProcessedTracker, _Progress, _ReadyCompletedTracker, _StartedTracker
label_desc: Use image node_id 3 for calling a global function with example usage: test_progress_increment(attr) without return types