Files
Kazuhiro Sera 3ce7c24d34 feat: #636 Add human-in-the-loop (HITL) support (#2230)
Co-authored-by: Michael James Schock <m@mjschock.com>
2026-01-29 12:16:28 +09:00

15 lines
388 B
Python

from types import SimpleNamespace
from tests.utils.hitl import RecordingEditor
def test_recording_editor_records_operations() -> None:
editor = RecordingEditor()
operation = SimpleNamespace(path="file.txt")
editor.create_file(operation)
editor.update_file(operation)
editor.delete_file(operation)
assert editor.operations == [operation, operation, operation]