code: def test_repository_checksum(tmp_path):
      """LocalRepository.version() generates a different version each time."""
      repository = LocalSourceCodeDir(path=Path(tmp_path))
      version_a = repository.version
  
      # version is different
      repository = LocalSourceCodeDir(path=Path(tmp_path))
      version_b = repository.version
  
      assert version_a != version_b
  
file_path: pytorch-lightning/tests/tests_app/source_code/test_local.py
imports: import os
  import sys
  import tarfile
  import uuid
  from pathlib import Path
  from unittest import mock
  import pytest
  from lightning.app.source_code import LocalSourceCodeDir
label_desc: Use image node_id 1 for calling a global function with example usage: test_repository_checksum(tmp_path) without return types