1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

tests: use proxy str directly (imrpove test cov)

This commit is contained in:
Ilya Kreymer 2015-10-23 11:54:16 -07:00
parent 4ba4521b56
commit c7224ecceb

View File

@ -22,6 +22,7 @@ class ServerThreadRunner(object):
self.port = self.httpd.socket.getsockname()[1]
proxy_str = 'http://localhost:' + str(self.port)
self.proxy_str = proxy_str
self.proxy_dict = {'http': proxy_str,
'https': proxy_str}