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:
parent
54058d2b18
commit
843634db59
@ -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"] = {
|
||||
|
@ -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 ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user