From 15a0eb976f9aa4591fde0ca4cf5bd8cd6e0da169 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 30 Oct 2024 11:59:04 -0700 Subject: [PATCH] test: update git index version test to check confirm_ask call --- tests/basic/test_sanity_check_repo.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/basic/test_sanity_check_repo.py b/tests/basic/test_sanity_check_repo.py index 9573ea130..5814cb5cc 100644 --- a/tests/basic/test_sanity_check_repo.py +++ b/tests/basic/test_sanity_check_repo.py @@ -125,7 +125,10 @@ def test_git_index_version_greater_than_2(create_repo, mock_io): "You may be able to convert your repo: git update-index --index-version=2" ) mock_io.tool_output.assert_any_call("Or run aider --no-git to proceed without using git.") - mock_io.tool_output.assert_any_call("https://github.com/Aider-AI/aider/issues/211") + mock_io.confirm_ask.assert_any_call( + "Open documentation url for more info?", + subject=urls.git_index_version + ) def test_bare_repository(create_repo, mock_io, tmp_path):