Skip to content

Commit c7224ec

Browse files
committed
tests: use proxy str directly (imrpove test cov)
1 parent 4ba4521 commit c7224ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/server_thread.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def __init__(self, make_httpd, config_file=None):
2222
self.port = self.httpd.socket.getsockname()[1]
2323

2424
proxy_str = 'http://localhost:' + str(self.port)
25+
self.proxy_str = proxy_str
2526
self.proxy_dict = {'http': proxy_str,
2627
'https': proxy_str}
2728

0 commit comments

Comments
 (0)