aboutsummaryrefslogtreecommitdiff
path: root/test/apiv2/python/rest_api/fixtures/api_testcase.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/apiv2/python/rest_api/fixtures/api_testcase.py')
-rw-r--r--test/apiv2/python/rest_api/fixtures/api_testcase.py4
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."""