From a28440755ccc726889ee677864eb0d066b69b37c Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Mon, 10 Aug 2026 18:03:46 +0200 Subject: [PATCH] fix: align the resolve_head double with its signature --- tests/test_profile_sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_profile_sync.py b/tests/test_profile_sync.py index 9ebafef1..312a1364 100644 --- a/tests/test_profile_sync.py +++ b/tests/test_profile_sync.py @@ -885,10 +885,10 @@ class TestBuildReport(unittest.TestCase): ) ) profile_sync.upstream.resolve_head = ( - lambda repo, cache_dir, offline=False: "headsha" + lambda repo, cache_dir, offline=False, branch=None: "headsha" ) profile_sync.upstream.resolve_commit_at = ( - lambda repo, date, cache_dir, offline=False: "pinsha" + lambda repo, date, cache_dir, offline=False, branch=None: "pinsha" ) profile_sync.upstream.compare = ( lambda repo, base, head, cache_dir, offline=False: CompareResult([], False)