mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
fix: 完善插件恢复与运行态收敛 (#6376)
This commit is contained in:
@@ -60,6 +60,8 @@ async def test_install_failure_stops_before_report_persistence_and_reload():
|
||||
assert result.failure_stage == "package_install"
|
||||
assert result.rollback.file_restored is True
|
||||
assert result.rollback.dependency_supported is False
|
||||
assert "插件文件已恢复" not in result.message
|
||||
assert "Python依赖变更不支持自动回滚" not in result.message
|
||||
rollback.assert_awaited_once()
|
||||
reporter.assert_not_awaited()
|
||||
writer.assert_not_awaited()
|
||||
|
||||
Reference in New Issue
Block a user