Files
aigc-home/docs/hel-892/vosr2-loop-document-evidence/pytest-initial.txt
T

38 lines
2.5 KiB
Plaintext

........................................................................ [ 13%]
........................................................................ [ 26%]
........................................................................ [ 40%]
........................................................................ [ 53%]
........................................................................ [ 67%]
........................................................................ [ 80%]
........................................................................ [ 94%]
...........F.................... [100%]
=================================== FAILURES ===================================
_ test_special_negative_endpoint_and_duplicate_declaration_are_reported_as_unknown _
def test_special_negative_endpoint_and_duplicate_declaration_are_reported_as_unknown():
sub=SOURCE['definitions']['subgraphs'][0]
assert next(e for e in sub['links'] if e['id']==143)['target_slot']==-3
assert sub['outputs'][0]['linkIds']==[143,143]
flow='\n'.join(BLOCK['flow'])
for fact in ['target_slot=-3','[143,143]','254','255','不能先判无效','五槽','无audio/audio_mode','format.codec','未证明']:
assert fact in flow
ns={n['id']:n for n in SOURCE['nodes']}
assert ns[3]['outputs'][0]['links']==[]
> assert ns[193]['outputs'][5]['name']=='file_path'
E AssertionError: assert 'file_path🟦' == 'file_path'
E
E - file_path
E + file_path🟦
E ? +
calliope-backend/tests/test_vosr2_loop_fixed_document.py:109: AssertionError
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-e74c4476c557/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_vosr2_loop_fixed_document.py::test_special_negative_endpoint_and_duplicate_declaration_are_reported_as_unknown
1 failed, 535 passed, 1 warning in 5.81s