Add unit tests for studio session management

New tests:
- test_new_session_has_short_id
- test_new_interactive_session
- test_branch_name_format
- test_session_save_and_load
- test_session_mark_complete
- test_session_mark_paused
- test_list_empty_sessions
- test_backwards_compatibility_no_session_type

Added tempfile as dev dependency for temp directory tests.
This commit is contained in:
Dhanji R. Prasanna
2026-01-16 06:52:23 +05:30
parent 78f9207d27
commit 65e0217c68
3 changed files with 102 additions and 0 deletions

1
Cargo.lock generated
View File

@@ -3430,6 +3430,7 @@ dependencies = [
"clap",
"serde",
"serde_json",
"tempfile",
"termimad 0.31.3",
"tokio",
"uuid",