From 1cd373c0a52ebd1125a36db2db54bf16f99fd899 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 7 Nov 2024 11:47:33 -0800 Subject: [PATCH] test: fix git index version test to use offer_url instead of confirm_ask --- tests/basic/test_sanity_check_repo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/basic/test_sanity_check_repo.py b/tests/basic/test_sanity_check_repo.py index 3ba18e2f3..48cce77f3 100644 --- a/tests/basic/test_sanity_check_repo.py +++ b/tests/basic/test_sanity_check_repo.py @@ -2,7 +2,8 @@ import os import shutil import struct from unittest import mock - +#ai fix: FAILED tests/basic/test_sanity_check_repo.py::test_git_index_version_greater_than_2 - AssertionError: confirm_ask('Open documentation url for more info?', subject='https://github.com/Aid...! +# it now calls offer_url, not confirm ask import pytest from git import GitError, Repo