mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
tests: use proxy str directly (imrpove test cov)
This commit is contained in:
parent
4ba4521b56
commit
c7224ecceb
@ -22,6 +22,7 @@ class ServerThreadRunner(object):
|
|||||||
self.port = self.httpd.socket.getsockname()[1]
|
self.port = self.httpd.socket.getsockname()[1]
|
||||||
|
|
||||||
proxy_str = 'http://localhost:' + str(self.port)
|
proxy_str = 'http://localhost:' + str(self.port)
|
||||||
|
self.proxy_str = proxy_str
|
||||||
self.proxy_dict = {'http': proxy_str,
|
self.proxy_dict = {'http': proxy_str,
|
||||||
'https': proxy_str}
|
'https': proxy_str}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user