code: def test_proper_url_parsing():
      name = "lightning/invideo"
  
      # make sure org/app-name name is correct
      org, app = cmd_install._validate_name(
          name,
          resource_type="app",
          example="lightning/lit-slack-component",
      )
      assert org == "lightning"
      assert app == "invideo"
  
      # resolve registry (orgs can have a private registry through their environment variables)
      registry_url = cmd_install._resolve_app_registry()
      assert registry_url == "https://lightning.ai/v1/apps"
  
      # load the component resource
      component_entry = cmd_install._resolve_resource(
          registry_url,
          name=name,
          version_arg="latest",
          resource_type="app",
      )
  
      (
          source_url,
          git_url,
          folder_name,
          git_sha,
      ) = cmd_install._show_install_app_prompt(
          component_entry, app, org, True, resource_type="app"
      )
      assert folder_name == "LAI-InVideo-search-App"
      # FixMe: this need to be updated after release with updated org rename
      assert (
          source_url
          == "https://github.com/Lightning-AI/LAI-InVideo-search-App"
      )
      assert "#ref" not in git_url
      assert git_sha
  
imports: import os
  import subprocess
  from pathlib import Path
  from unittest import mock
  import pytest
  from click.testing import CliRunner
  from lightning.app.cli import cmd_install, lightning_cli
  from lightning.app.testing.helpers import _RunIf
label_desc: Use image node_id 11 for calling a global function with example usage: test_proper_url_parsing() without return types