Skip to content

Commit d33ba88

Browse files
committed
Fixed base_url related tests
1 parent cf050d2 commit d33ba88

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -746,14 +746,14 @@ def test_url_compatibility_http_unix_triple_slash(self):
746746
assert c.base_url == "http+unix://socket"
747747

748748
def test_url_compatibility_http(self):
749-
c = docker.Client(base_url="http://hostname")
749+
c = docker.Client(base_url="http://hostname:1234")
750750

751-
assert c.base_url == "http://hostname"
751+
assert c.base_url == "http://hostname:1234"
752752

753753
def test_url_compatibility_tcp(self):
754-
c = docker.Client(base_url="tcp://hostname")
754+
c = docker.Client(base_url="tcp://hostname:1234")
755755

756-
assert c.base_url == "http://hostname"
756+
assert c.base_url == "http://hostname:1234"
757757

758758
def test_logs(self):
759759
try:

0 commit comments

Comments
 (0)