Build the HTTP frontend from registry entries in tests
Author: jodalCreated Sep 27, 2026Updated Sep 27, 2026
LabelsA-ext-httpready-for-agent
:robot: Summary
Prepare the test seam for the ASGI work. Tests build the HTTP frontend's server from config, a core mock and registry entries (http:app, http:static), and serve it on an unused port with the existing tornado_server fixture. The HTTP frontend's behavior does not change.
This is a prefactor: later tickets add http:asgi entries to the same seam.
Parent
mopidy/mopidy#2312
Acceptance criteria
- Tests can build the HTTP frontend's server from config, a core mock and a list of registry entries, and serve it with the
tornado_serverfixture. - The existing server, handler and JSON-RPC tests use this setup.
- No assertion in those tests changes. Only their fixture setup changes.
- No change to runtime behavior.
Blocked by
- None (can start immediately)
Source: mopidy/mopidy