37 lines
2.7 KiB
Plaintext
37 lines
2.7 KiB
Plaintext
........................................................................ [ 9%]
|
|
........................................................................ [ 19%]
|
|
........................................................................ [ 29%]
|
|
........................................................................ [ 39%]
|
|
........................................................................ [ 49%]
|
|
.F...................................................................... [ 59%]
|
|
........................................................................ [ 69%]
|
|
........................................................................ [ 79%]
|
|
........................................................................ [ 89%]
|
|
........................................................................ [ 98%]
|
|
........ [100%]
|
|
=================================== FAILURES ===================================
|
|
_ test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons _
|
|
|
|
def test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons():
|
|
previous = json.loads((REPO / "docs/hel-892/media-evidence/library.json").read_bytes())
|
|
profiles = tuple(
|
|
p
|
|
for p in audit.REFERENCE_PROFILES
|
|
if p not in (*audit.CROP_SPLIT_PROFILES, *audit.VHS_PROFILES, *audit.SETGET_PROFILES)
|
|
)
|
|
baseline = tuple(p for p in profiles if p != SEPARATION_PROFILE)
|
|
old = audit.audit_library(REPO, baseline)
|
|
current = audit.audit_library(REPO, profiles, baseline_profiles=baseline)
|
|
for historical, before, after in zip(previous["cases"], old["cases"], current["cases"]):
|
|
assert historical["source_path"] == before["source_path"] == after["source_path"]
|
|
> assert historical["attempts"] == before["attempts"] == after["attempts"][:-1]
|
|
E AssertionError: assert [{'profile': ...本不匹配'}]}, ...] == [{'profile': ...本不匹配'}]}, ...]
|
|
E
|
|
E Right contains 2 more items, first extra item: {'profile': 'comfy-frontend-1.37.11-videoinfo-537f3a02-kj-ab72eda7-vhs-core-reference', 'assumptions': {'frontend': '1...aux', 'aux_id': None, 'ver': '1.1.5'}, {'pointer': '/nodes/5', 'cnr_id': None, 'aux_id': None, 'ver': None}, ...], ...}
|
|
E Use -v to get more diff
|
|
|
|
calliope-backend/tests/test_audio_separation_reference.py:372: AssertionError
|
|
=========================== short test summary info ============================
|
|
FAILED calliope-backend/tests/test_audio_separation_reference.py::test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons
|
|
1 failed, 727 passed, 1 warning in 13.86s
|