Chris Dent
Chris Dent
Yeah, it creates a new client for every intercepted test, meaning it restarts the wsgi app for every test. Somewhere north of 170 times. If we attach the client as...
It's also at https://github.com/kajinamit/gabbi/pull/1
In my PR one thing that will need to be checked for correctness is test suites where requests to "real" hosts are mixed with requests to the intercepted apps.
> where requests to "real" hosts are mixed with requests to the intercepted apps It appears to not be working, so the logic probably needs some adjustment.
Thinking about this overnight, the code in this patch maintains the same behaviour as >=4.0: Each test has its own transport, thus each test starts its own WSGI app. As...