summaryrefslogtreecommitdiff
path: root/test/apiv2/python
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-08-23 16:12:06 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-08-23 16:12:08 -0400
commit8b1e88bf80b3cd650be04fd397f7b85d355788dd (patch)
tree6068e9a334a828c7af130dfee5f996ab17d420b4 /test/apiv2/python
parentcf9c04ae2b61d1eed32a73aad2172d3455a5a9fa (diff)
downloadpodman-8b1e88bf80b3cd650be04fd397f7b85d355788dd.tar.gz
podman-8b1e88bf80b3cd650be04fd397f7b85d355788dd.tar.bz2
podman-8b1e88bf80b3cd650be04fd397f7b85d355788dd.zip
Fix documentation of use of tcp connections
Fixes: https://github.com/containers/podman/issues/15430 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/apiv2/python')
-rw-r--r--test/apiv2/python/rest_api/fixtures/api_testcase.py2
-rw-r--r--test/apiv2/python/rest_api/v1_test_rest_v1_0_0.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/apiv2/python/rest_api/fixtures/api_testcase.py b/test/apiv2/python/rest_api/fixtures/api_testcase.py
index f47136555..edb34b31e 100644
--- a/test/apiv2/python/rest_api/fixtures/api_testcase.py
+++ b/test/apiv2/python/rest_api/fixtures/api_testcase.py
@@ -20,7 +20,7 @@ class APITestCase(unittest.TestCase):
APITestCase.podman = Podman()
APITestCase.service = APITestCase.podman.open(
- "system", "service", "tcp:localhost:8080", "--time=0"
+ "system", "service", "tcp://localhost:8080", "--time=0"
)
# give the service some time to be ready...
time.sleep(2)
diff --git a/test/apiv2/python/rest_api/v1_test_rest_v1_0_0.py b/test/apiv2/python/rest_api/v1_test_rest_v1_0_0.py
index 905c29683..2274f25bf 100644
--- a/test/apiv2/python/rest_api/v1_test_rest_v1_0_0.py
+++ b/test/apiv2/python/rest_api/v1_test_rest_v1_0_0.py
@@ -63,7 +63,7 @@ class TestApi(unittest.TestCase):
podman(),
"system",
"service",
- "tcp:localhost:8080",
+ "tcp://localhost:8080",
"--log-level=debug",
"--time=0",
],