You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add YamlDocument.delete(), remove stale version keys in freeze, complete test assertions
- yaml.py: add delete(jsonpath, field) — mirrors set() but removes the
field and its child block; _delete_by_parts stops at blank lines to
preserve inter-item separators; 5 unit tests added in test_yaml.py
- manifest.py update_project_version: call _doc.delete() for each
version key that is now empty/absent (removes stale 'revision', 'tag',
'branch') and remove the entire 'integrity' block when no hash is
present; regression test added in test_manifest.py
- test_add.py: add append_project_entry.assert_called_once() +
update_dump.assert_called_once() to the 5 tests that previously only
accessed call_args without asserting call count:
suffixes_duplicate_name, interactive_branch_by_number,
svn_custom_branch, svn_tag, svn_branch_by_number
https://claude.ai/code/session_01Xd8EcAUkSoJo9YZimGzEuA
0 commit comments