From 704e687532c6e3a2b5e1318edc6da445fd681052 Mon Sep 17 00:00:00 2001 From: mzt006 Date: Sat, 18 Jul 2026 01:31:42 +0500 Subject: [PATCH] test: update watch ignore loader mock --- tests/test_watch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_watch.py b/tests/test_watch.py index 4b16d1e03..e665e7738 100644 --- a/tests/test_watch.py +++ b/tests/test_watch.py @@ -945,9 +945,9 @@ def test_watch_loads_graphifyignore_once(tmp_path, monkeypatch): calls = {"n": 0} real_loader = detect_mod._load_graphifyignore - def counting_loader(root): + def counting_loader(root, **kwargs): calls["n"] += 1 - return real_loader(root) + return real_loader(root, **kwargs) # Patch the symbol the watch module imported at module-load time. monkeypatch.setattr(watch_mod, "_load_graphifyignore", counting_loader)