mirror of
https://github.com/HKUDS/CLI-Anything.git
synced 2026-09-17 17:38:11 +08:00
* 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>