mirror of
https://github.com/Donkie/Spoolman.git
synced 2026-10-22 01:52:17 -05:00
The unit tests are supposed to run with no database, no server and no built client, but tests/test_configjs.py imported spoolman.main, which builds the SPA handler at module level and so needs client_v2/build to exist. That passed locally, where the bundle is lying around, and failed CI's style job, which never builds the client. Moves the rendering into client.render_config_js, which the endpoint now calls, so the test exercises the real code path without the app.