simplified deserialisation
Python CI / test (push) Successful in 1m40s
Lint / lint (push) Successful in 1m29s
Tests / test (3.11) (push) Successful in 1m48s
Tests / test (3.12) (push) Successful in 1m51s
Tests / test (3.13) (push) Successful in 1m46s
Tests / test (3.14) (push) Successful in 1m29s

This commit is contained in:
2026-01-01 14:17:16 +01:00
parent 3a2d8b05db
commit 293b568772
2 changed files with 48 additions and 126 deletions
+2
View File
@@ -734,6 +734,7 @@ class TestCommandHistory:
"""Test deserializing unknown command type returns None and continues"""
history = CommandHistory()
mock_project = Mock()
mock_project.pages = []
data = {
"undo_stack": [
@@ -797,6 +798,7 @@ class TestCommandHistory:
# Deserialize
mock_project = Mock()
mock_project.pages = []
new_history = CommandHistory()
new_history.deserialize(data, mock_project)