diff options
author | Joffrey F <joffrey@docker.com> | 2015-08-17 14:42:19 -0700 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2015-08-17 14:45:35 -0700 |
commit | adb2d01861c7a902ffaa53f1067c45a8b9a7d45d (patch) | |
tree | 67fefe0383048145d00ca8e7364c159d469b73ab | |
parent | 570693c81023316430db79c1cc7f75cfd2284844 (diff) | |
download | docker-py-allow-path-in-host.tar.gz |
Added full path parse_host unit testallow-path-in-host
-rw-r--r-- | tests/utils_test.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/utils_test.py b/tests/utils_test.py index 8acd47d..5327e13 100644 --- a/tests/utils_test.py +++ b/tests/utils_test.py @@ -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: |