diff --git a/test/test_capture_http_proxy.py b/test/test_capture_http_proxy.py index f0741603..bbc1bddb 100644 --- a/test/test_capture_http_proxy.py +++ b/test/test_capture_http_proxy.py @@ -29,11 +29,15 @@ def handle_error(self, request, client_address): server = make_server('localhost', 0, wsgiprox, server_class=NoLogServer) addr, cls.port = server.socket.getsockname() + print(f"port: {cls.port}", flush=True) + cls.proxies = { 'https': 'https://localhost:' + str(cls.port), 'http': 'http://localhost:' + str(cls.port), } + print(f"proxies: {cls.proxies}", flush=True) + def run(): try: server.serve_forever()