Functions§
- build_
sub_ run - make_
test_ router - Build a minimal router suitable for integration tests — no TCP binding, no API keys, no TLS.
- make_
test_ router_ exhausted_ semaphore - Test router where the analysis semaphore is pre-exhausted (0 permits). Immediately returns 503 on POST /analyze, exercising the busy-server branch.
- make_
test_ router_ server_ mode - Test router with
server_mode = true. Exercises server-mode-gated code paths such as the locked watched-bar in trend-reports, path validation in analyze, and upload-only preview restrictions. - make_
test_ router_ tight_ rate_ limit - Test router with a very tight rate limit (3 req/min). The third request from
the same IP (0.0.0.0 when
ConnectInfois absent) returns 429. - make_
test_ router_ with_ key - Test router with one API key pre-loaded. Used by auth integration tests.
- sanitize_
project_ label - serve
- Errors