MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / FakeObserver

Class FakeObserver

tests/test_watch.py:1888–1894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1886 rebuild_calls: list[Path] = []
1887
1888 class FakeObserver:
1889 def schedule(self, handler, path, *, recursive=False, event_filter=None):
1890 captured["handler"] = handler
1891 captured["recursive"] = recursive
1892
1893 def start(self):
1894 pass
1895
1896 fake = FakeObserver()
1897 monkeypatch.setattr(observers, "Observer", lambda: fake)

Calls

no outgoing calls