Kaydet (Commit) adb2d018 authored tarafından Joffrey F's avatar Joffrey F

Added full path parse_host unit test

üst 570693c8
......@@ -72,7 +72,10 @@ class UtilsTest(base.BaseTestCase):
'': 'http+unix://var/run/docker.sock',
None: 'http+unix://var/run/docker.sock',
'unix:///var/run/docker.sock': 'http+unix:///var/run/docker.sock',
'unix://': 'http+unix://var/run/docker.sock'
'unix://': 'http+unix://var/run/docker.sock',
'somehost.net:80/service/swarm': (
'http://somehost.net:80/service/swarm'
),
}
for host in invalid_hosts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment