Files
olivv-cs-ComfyUI-FunPack/core/tests
digital-garbage 058ca1a427 core: test the routes, and stop one try guarding two imports
routes.py had no coverage. register() now takes the route table so the real
routes mount on a throwaway app.

The tests write the request line onto the socket instead of using aiohttp's
TestClient, which normalises the URL before sending -- ask it for
modules/%2e%2e/app/x.css and the server receives a plain app/x.css, so the test
looks like a routing bypass when it is the client tidying up. On the wire the
modules route does match, dots intact, and resolve() refuses it.

Splitting the aiohttp and PromptServer imports: one try around both nulled
web whenever ComfyUI's server module was absent, which is every test run.
2026-08-28 14:31:49 +03:00
..