mirror of https://github.com/docker/docker-py.git
Added full path parse_host unit test
This commit is contained in:
parent
570693c810
commit
adb2d01861
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue