72 lines
5.8 KiB
Plaintext
72 lines
5.8 KiB
Plaintext
........................................................................ [ 10%]
|
|
..............................................F......................... [ 21%]
|
|
........................................................................ [ 31%]
|
|
..........F............................................................. [ 42%]
|
|
.....................F.................................................. [ 53%]
|
|
........................................................................ [ 63%]
|
|
........................................................................ [ 74%]
|
|
........................................................................ [ 85%]
|
|
........................................................................ [ 95%]
|
|
............................ [100%]
|
|
=================================== FAILURES ===================================
|
|
___ test_old_sixteen_attempts_gaps_candidates_and_six_comparisons_protected ____
|
|
|
|
def test_old_sixteen_attempts_gaps_candidates_and_six_comparisons_protected():
|
|
old = json.loads((REPO / "docs/hel-892/crop-split-evidence/library.json").read_bytes())
|
|
profiles = tuple(p for p in audit.REFERENCE_PROFILES if p not in VHS_PROFILES)
|
|
baseline = audit.audit_library(REPO, profiles)
|
|
now = audit.audit_library(REPO, baseline_profiles=profiles)
|
|
> assert len(profiles) == 16 and len(now["profiles"]) == 18
|
|
E AssertionError: assert (18 == 16)
|
|
E + where 18 = len(('comfy-frontend-1.37.11-core-reference', 'comfy-frontend-1.37.11-controlnet-aux-e8b689a-reference', 'comfy-frontend-1...7.11-preview-reference', 'comfy-frontend-1.48.7-structure-reference', 'comfy-frontend-1.53.6-structure-reference', ...))
|
|
|
|
calliope-backend/tests/test_vhs_reference.py:291: AssertionError
|
|
__ test_all_old_fourteen_profiles_attempts_gaps_and_six_differences_unchanged __
|
|
|
|
def test_all_old_fourteen_profiles_attempts_gaps_and_six_differences_unchanged():
|
|
historical_profiles = tuple(p for p in audit.REFERENCE_PROFILES if p not in VHS_PROFILES)
|
|
profiles = tuple(p for p in historical_profiles if p not in CROP_SPLIT_PROFILES)
|
|
historical = json.loads((REPO / "docs/hel-892/separation-evidence/library.json").read_bytes())
|
|
baseline = audit.audit_library(REPO, profiles)
|
|
current = audit.audit_library(REPO, historical_profiles)
|
|
> assert baseline["gap_groups"] == historical["gap_groups"]
|
|
E AssertionError: assert [{'type': '1d...e', ...}, ...] == [{'type': '1d...e', ...}, ...]
|
|
E
|
|
E At index 5 diff: {'type': '4b860023-4ef2-453b-8f9a-5c554000efa1', 'provider': 'comfy-core', 'version': '0.27.0', 'profile': 'comfy-frontend-1.37.11-kj-setget-ab72eda7-vhs-reference', 'code': 'setget_reference_invalid', 'rule_gap': '根图运行节点仅支持正常mode=0', 'occurrences': [{'source_path': 'example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json', 'node_pointer': '/nodes/97', 'node_id': '663'}]} != {'type': '4b860023-4ef2-453b-8f9a-5c554000efa1', 'provider': 'comfy-core', 'version': '0.27.0', 'profile': 'comfy-frontend-1.37.11-layerstyle-mixed-core-0.4.0-...
|
|
E
|
|
E ...Full output truncated (3 lines hidden), use '-vv' to show
|
|
|
|
calliope-backend/tests/test_crop_split_reference.py:359: AssertionError
|
|
_ 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)
|
|
)
|
|
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-kj-setget-ab72eda7-vhs-reference', 'assumptions': {'frontend': '1.37.11', 'unmodif...match': 'unknown', ...}, 'verified_reference_facts': 'setget-reference/contract.json', 'status': 'not_applicable', ...}
|
|
E Use -v to get more diff
|
|
|
|
calliope-backend/tests/test_audio_separation_reference.py:372: AssertionError
|
|
=============================== warnings summary ===============================
|
|
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
|
|
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-05932df0b0bc/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
|
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
|
|
|
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
|
=========================== short test summary info ============================
|
|
FAILED calliope-backend/tests/test_vhs_reference.py::test_old_sixteen_attempts_gaps_candidates_and_six_comparisons_protected
|
|
FAILED calliope-backend/tests/test_crop_split_reference.py::test_all_old_fourteen_profiles_attempts_gaps_and_six_differences_unchanged
|
|
FAILED calliope-backend/tests/test_audio_separation_reference.py::test_library_actual_delta_keeps_every_old_attempt_and_all_six_golden_comparisons
|
|
3 failed, 673 passed, 1 warning in 13.06s
|