chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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]
|
||||
Reference in New Issue
Block a user