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