From 9749190cd81785c66c827942e59feda611b5545e Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sat, 10 Jan 2026 09:15:29 +1100 Subject: [PATCH] Fix test --- tests/test_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index e5c6966..dcdb6a7 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -607,7 +607,7 @@ def test_cli_diff_notifies_webhook_and_email_and_respects_exit_code( ): calls: dict[str, object] = {} - def fake_compare(old, new, sops_mode=False): + def fake_compare(old, new, sops_mode=False, **kwargs): calls["compare"] = (old, new, sops_mode) return {"dummy": True}, True @@ -662,7 +662,7 @@ def test_cli_diff_notifies_webhook_and_email_and_respects_exit_code( def test_cli_diff_webhook_http_error_raises_system_exit(monkeypatch): - def fake_compare(old, new, sops_mode=False): + def fake_compare(old, new, sops_mode=False, **kwargs): return {"dummy": True}, True monkeypatch.setattr(cli, "compare_harvests", fake_compare)