From c3827a841064920ab396a7eb720b4213231a9069 Mon Sep 17 00:00:00 2001 From: David Wilding Date: Mon, 2 Nov 2026 01:48:55 -0500 Subject: [PATCH] test: expect pre-commit hook install for frogtab clones The repo dwilding/frogtab added '.pre-commit-config.yaml' on 2026-10-31 (release commit 066a2821). Since then, gimmegit prints 'Installing pre-commit hook' after cloning frogtab, but four functional tests still assert stdout without that line, so they fail. Update the expected stdout in test_outer.py and test_outer_clone.py to include the line. This fixes the functional-limited CI failures seen on PR #218 and other branches. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- tests/functional/test_outer.py | 3 +++ tests/functional/test_outer_clone.py | 1 + 2 files changed, 4 insertions(+) diff --git a/tests/functional/test_outer.py b/tests/functional/test_outer.py index 6038615..9d5fd98 100644 --- a/tests/functional/test_outer.py +++ b/tests/functional/test_outer.py @@ -117,6 +117,7 @@ def test_working_repo_allow(uv_run, test_dir): Getting repo details Cloning https://github.com/dwilding/frogtab.git Checking out a new branch my-feature based on dwilding:main +Installing pre-commit hook Cloned repo: {expected_dir} """ @@ -183,6 +184,7 @@ def test_project_repo_allow(uv_run, test_dir): Getting repo details Cloning https://github.com/dwilding/frogtab.git Checking out a new branch my-feature based on dwilding:main +Installing pre-commit hook Cloned repo: {expected_dir} """ @@ -214,6 +216,7 @@ def test_no_gitignore(uv_run, test_dir): Getting repo details Cloning https://github.com/dwilding/frogtab.git Checking out a new branch my-feature based on dwilding:main +Installing pre-commit hook Cloned repo: {expected_dir} """ diff --git a/tests/functional/test_outer_clone.py b/tests/functional/test_outer_clone.py index 4ddb90f..0d61da5 100644 --- a/tests/functional/test_outer_clone.py +++ b/tests/functional/test_outer_clone.py @@ -48,6 +48,7 @@ def test_working_clone_exclude_dotgit(uv_run, test_dir): Getting repo details Cloning https://github.com/dwilding/frogtab.git Checking out a new branch inner based on dwilding:main +Installing pre-commit hook Cloned repo: {expected_dir} """