RHSecurityCompliance / contest

Content Testing for ComplianceAsCode/content
Other
4 stars 7 forks source link

Make use of dynamic HTTP server port assignment #213

Closed comps closed 1 month ago

comps commented 2 months ago

https://github.com/RHSecurityCompliance/contest/pull/210/commits/3277a788bb19f9b6b4f1e62665413936d705f255 added the ability for tests and libraries to avoid fixed port numbers - modify any tests/libraries that use fixed ports (and would be able to switch to dynamic ports).

This may not be a trivial change (ie. a text block above with ... : will have to be either broken down, moved or re-formatted after the with, since the dynamic port number is unknown before the with context manager starts.