1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix metalink tests

testenv/Test-metalink-http.py: initialize HTTP test server
testenv/Test-metalink-xml.py: initialize HTTP test server
This commit is contained in:
Giuseppe Scrivano 2015-07-20 16:29:05 +02:00
parent 54058d2b18
commit 843634db59
2 changed files with 2 additions and 0 deletions

View File

@ -115,6 +115,7 @@ http_test = HTTPTest (
post_hook=post_test,
)
http_test.server_setup()
srv_host, srv_port = http_test.servers[0].server_inst.socket.getsockname ()
MetaFileRules["SendHeader"] = {

View File

@ -75,6 +75,7 @@ http_test = HTTPTest (
post_hook=post_test,
)
http_test.server_setup()
### Get and use dynamic server sockname
srv_host, srv_port = http_test.servers[0].server_inst.socket.getsockname ()