code: def test_get_newer_version(
      mock_requests, response, current_version, newer_version
  ):
      mock_requests.get().json.return_value = response
  
      lightning.app.utilities.cli_helpers.__version__ = current_version
  
      _get_newer_version.cache_clear()
      assert _get_newer_version() == newer_version
  
file_path: pytorch-lightning/tests/tests_app/utilities/test_cli_helpers.py
imports: import os
  import sys
  from unittest.mock import Mock, patch
  import arrow
  import lightning.app
  import pytest
  from lightning.app.utilities.cli_helpers import _arrow_time_callback, _check_environment_and_redirect, _format_input_env_variables, _get_newer_version
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_newer_version(mock_requests, response, current_version, newer_version) without return types