- tests/integration: frontend served by backend, runtime error mapping, backend + real pi image with scripted model/Confluence (shared example, variants, failure paths, cancellation/busy gate, isolation canaries, HTTP download ownership, 16 MiB prompt round trip), real OpenAI-compatible adapter + real image over a scripted transport, real Chrome against the real backend with a scripted runtime peer, backend crash/restart reconciliation, and an opt-in live model check (marker: live). - backend: map runtime terminal codes (model_output_limit, model_context_exceeded, query_timeout, connectivity_failed) to the contract's HTTP statuses; make the artifact 404 body identical for no-session, wrong-session, unknown and expired IDs. - Makefile, scripts/run-backend.sh, deploy/confluence-web.env.example, root README for the integrated application; integration pytest marker.
8 lines
259 B
INI
8 lines
259 B
INI
[pytest]
|
|
testpaths = tests
|
|
pythonpath = .
|
|
addopts = -q -m "not live"
|
|
markers =
|
|
live: tests that hit real Confluence or external network services
|
|
integration: integration-stage tests that connect real subsystems (may need Docker and the runtime image)
|