world_sync/tests/evidence/m11b2d_a3_fixture_contract_pytest.txt
2026-09-22 22:09:01 +08:00

33 lines
2.7 KiB
Plaintext

# CMD: cd modules/world_sync && ./.venv/bin/python -m pytest tests/test_m11b2d_fixture_contract.py -v --tb=short
# DATE: 2026-09-22T22:09:00+08:00
# TASK: M11b-2d-A3 函数式夹具契约守卫用例(本任务交付物本体,响应 QC #3 证据错位)
# NOTE: 17 项 = 原 15 项(夹具面/返回键/门禁码三组)+ 本轮响应 QC #2 新增 RegistrationDocCase 2 项(登记文档存在性与同源校验)
# 以下为 pytest 完整原样输出
============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-9.1.1, pluggy-1.6.0 -- /d/pipeline/workspaces/0/sdlc_general/modules/world_sync/.venv/bin/python
cachedir: .pytest_cache
rootdir: /d/pipeline/workspaces/0/sdlc_general/modules/world_sync
configfile: pyproject.toml
collecting ... collected 17 items
tests/test_m11b2d_fixture_contract.py::FixtureSurfaceCase::test_dead_class_style_symbols_absent PASSED [ 5%]
tests/test_m11b2d_fixture_contract.py::FixtureSurfaceCase::test_fixture_apply_is_thin_wrapper_on_true_source PASSED [ 11%]
tests/test_m11b2d_fixture_contract.py::FixtureSurfaceCase::test_live_function_style_symbols_present PASSED [ 17%]
tests/test_m11b2d_fixture_contract.py::FixtureSurfaceCase::test_read_states_signature PASSED [ 23%]
tests/test_m11b2d_fixture_contract.py::FixtureSurfaceCase::test_true_source_signature PASSED [ 29%]
tests/test_m11b2d_fixture_contract.py::ReturnKeysCase::test_broadcast_strictly_after_commit PASSED [ 35%]
tests/test_m11b2d_fixture_contract.py::ReturnKeysCase::test_dedup_return_keys_exact_and_no_second_write PASSED [ 41%]
tests/test_m11b2d_fixture_contract.py::ReturnKeysCase::test_event_table_is_append_only PASSED [ 47%]
tests/test_m11b2d_fixture_contract.py::ReturnKeysCase::test_read_states_rows_shape PASSED [ 52%]
tests/test_m11b2d_fixture_contract.py::ReturnKeysCase::test_snapshot_writes_snapshot_table PASSED [ 58%]
tests/test_m11b2d_fixture_contract.py::ReturnKeysCase::test_success_return_keys_exact PASSED [ 64%]
tests/test_m11b2d_fixture_contract.py::GateErrorCase::test_bad_state_updates PASSED [ 70%]
tests/test_m11b2d_fixture_contract.py::GateErrorCase::test_missing_required_params PASSED [ 76%]
tests/test_m11b2d_fixture_contract.py::GateErrorCase::test_missing_tenant_is_fail_closed PASSED [ 82%]
tests/test_m11b2d_fixture_contract.py::GateErrorCase::test_state_conflict_rolls_back PASSED [ 88%]
tests/test_m11b2d_fixture_contract.py::RegistrationDocCase::test_doc_exists_and_registers_contract PASSED [ 94%]
tests/test_m11b2d_fixture_contract.py::RegistrationDocCase::test_doc_live_fixture_symbols_registered PASSED [100%]
============================== 17 passed in 0.12s ==============================
# RC=0