Merge pull request #2617 from gutweiler/extra-hosts-ipv6
Extra hosts ipv6
This commit is contained in:
commit
796d97e394
2 changed files with 5 additions and 3 deletions
|
|
@ -22,11 +22,13 @@ def test_parse_extra_hosts_list():
|
|||
assert parse_extra_hosts([
|
||||
"www.example.com: 192.168.0.17",
|
||||
"static.example.com:192.168.0.19",
|
||||
"api.example.com: 192.168.0.18"
|
||||
"api.example.com: 192.168.0.18",
|
||||
"v6.example.com: ::1"
|
||||
]) == {
|
||||
'www.example.com': '192.168.0.17',
|
||||
'static.example.com': '192.168.0.19',
|
||||
'api.example.com': '192.168.0.18'
|
||||
'api.example.com': '192.168.0.18',
|
||||
'v6.example.com': '::1'
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue