Files
2026-07-13 12:39:17 +08: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]