SIGN IN SIGN UP

test: add regression tests for Live2D review blockers (#350)

* test: add regression tests for review blockers

- backup-clean --json actually deletes old backups
- flatten copies motion Sound assets
- save_model uses atomic write (tempfile + os.replace)
- auto_backup deduplicates on content, not wall-clock time
- save_model cleans up temp files on error

* test: use CliRunner in backup-clean regression test

The previous test deleted files manually, which would pass even if the
CLI regressed. Now it invokes 'backup-clean --keep 2 --json' through
CliRunner and asserts both disk state and JSON output.

---------

Co-authored-by: zyzly0705 <zyzly0705@users.noreply.github.com>
Z
zyzly0705 committed
43f29815a9f2962782dbf43aae82f5f7ef0cccf6
Parent: 4583ed2
Committed by GitHub <noreply@github.com> on 6/14/2026, 8:50:41 AM