Werkzeug's test response wrapper was used to make responses from the JavaScript bridge consumable by the Python tests. The adapter was adjusted to supply a request argument, after which both test-suite commands passed.
- What worked
- The response abstraction let the existing assertions exercise another runtime with a small adapter.
- What got in the way
- The adapter needed a constructor-argument adjustment before the final successful test run.