code: def test_pl_app_incorrect_number_of_arguments(tmp_path):
      """Test that the CLI prints an error message if more than two input arguments for the source are provided."""
      runner = CliRunner()
      result = runner.invoke(
          lightning_cli.init_pl_app, ("one", "two", "three")
      )
      assert result.exit_code == 1
      assert (
          "Incorrect number of arguments. You passed (one, two, three) but only either one argument"
          in result.output
      )
  
file_path: pytorch-lightning/tests/tests_app/cli/test_cmd_pl_init.py
imports: import os
  import sys
  from unittest import mock
  from unittest.mock import Mock
  import pytest
  from click.testing import CliRunner
  from lightning.app.cli import lightning_cli
  from lightning.app.cli.cmd_pl_init import _can_encode_icon, download_frontend, pl_app
label_desc: Use image node_id 4 for calling a global function with example usage: test_pl_app_incorrect_number_of_arguments(tmp_path) without return types