def METHOD_NAME(test_storage: FileStorage, deployment_method: str, deployment_args: StrAny) -> None:
    pipeline_wf = tempfile.mkdtemp()
    shutil.copytree("tests/cli/cases/deploy_pipeline", pipeline_wf, dirs_exist_ok=True)
    with set_working_dir(pipeline_wf):
        # we do not have repo
        with pytest.raises(InvalidGitRepositoryError):
            deploy_command.deploy_command("debug_pipeline.py", deployment_method, deploy_command.COMMAND_DEPLOY_REPO_LOCATION, **deployment_args)
        # test wrapper
        rc = _dlt.deploy_command_wrapper("debug_pipeline.py", deployment_method, deploy_command.COMMAND_DEPLOY_REPO_LOCATION, **deployment_args)
        assert rc == -3