fix: permit fresh confirmed recovery after scoped release proof

This commit is contained in:
阿白叔 committed 2026-11-17 01:38:35 +08:00
1 parent 87e10740f7
commit 7c27f9604e
6 files changed
+106 -6

No files matched your search

+1 -1
View File
@@ -542,7 +542,7 @@ def test_add_source_missing_central_library_fails_before_capture_without_retaini
monkeypatch.setattr(adapter, 'catalog', lambda library, evidence: Catalog(library, 1, ()))
monkeypatch.setattr('cbb_refresh_verify.native_engineering_identity.capture_identity',
lambda *_a, **_kw: pytest.fail('incomplete source reached native capture'))
result = execute(replace(request, operation='add', name='New', source=source, auto_verify=False), adapter)
result = execute(replace(request, operation='add', name=source.stem, source=source, auto_verify=False), adapter)
assert result.status == 'UPLOAD_FAILED' and result.safe_to_continue
assert 'CentralLibrary' in result.detail
assert not blocker_path(request.library).exists()