code: def test_scripts(file):
      _run_script(
          str(os.path.join(_PATH_EXAMPLES, f"components/python/{file}"))
      )
  
file_path: pytorch-lightning/tests/integrations_app/public/test_scripts.py
imports: import os
  import pytest
  from click.testing import CliRunner
  from lightning.app.cli.lightning_cli import run_app
  from lightning.app.testing.helpers import _run_script, _RunIf
  from integrations_app.public import _PATH_EXAMPLES
label_desc: Use image node_id 1 for calling a global function with example usage: test_scripts(file) without return types