diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-07 11:55:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 11:55:30 +0000 |
commit | 48c892324899553415f1a9746c680263898d0ca0 (patch) | |
tree | 3e170269ac3427d88f3ba56d943bb09beca03f23 /test/apiv2/python/rest_api/fixtures/api_testcase.py | |
parent | f3533a312fb4b2f0eb88e9d53fb31d1580b182a6 (diff) | |
parent | ee05bc031882cd47cf402f55e1bfefbe83ecb3c0 (diff) | |
download | podman-48c892324899553415f1a9746c680263898d0ca0.tar.gz podman-48c892324899553415f1a9746c680263898d0ca0.tar.bz2 podman-48c892324899553415f1a9746c680263898d0ca0.zip |
Merge pull request #14673 from idleroamer/fix-network-inspect-main
Fix network inspect compat API discrepancy
Diffstat (limited to 'test/apiv2/python/rest_api/fixtures/api_testcase.py')
-rw-r--r-- | test/apiv2/python/rest_api/fixtures/api_testcase.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/apiv2/python/rest_api/fixtures/api_testcase.py b/test/apiv2/python/rest_api/fixtures/api_testcase.py index 155e93928..f47136555 100644 --- a/test/apiv2/python/rest_api/fixtures/api_testcase.py +++ b/test/apiv2/python/rest_api/fixtures/api_testcase.py @@ -64,6 +64,10 @@ class APITestCase(unittest.TestCase): def uri(path): return APITestCase.PODMAN_URL + "/v2.0.0/libpod" + path + @staticmethod + def compat_uri(path): + return APITestCase.PODMAN_URL + "/v3.0.0/" + path + def resolve_container(self, path): """Find 'first' container and return 'Id' formatted into given URI path.""" |