sanic-org / sanic-testing

Test clients for Sanic
https://sanic.dev/en/plugins/sanic-testing/getting-started.html
MIT License
31 stars 19 forks source link

Add auto-assignment of a free port to ReusableClient #37

Closed pszpetkowski closed 1 year ago

pszpetkowski commented 2 years ago

It still allows to provide a specific port, but if there is none, it utilises the socket to find one that's available. Likely shouldn't break anything.