diff options
author | Milivoje Legenovic <m.legenovic@gmail.com> | 2020-12-07 12:50:10 +0100 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-12-07 14:37:01 -0500 |
commit | 9b4266eb942b10926ea69ba13d84d5e36a61bd3c (patch) | |
tree | f65c90a46315f4e41cb675b13cb399d1304dddbe /test | |
parent | 4fa94d7e14bcfb41b4a73093f0b08a51469b2c45 (diff) | |
download | podman-9b4266eb942b10926ea69ba13d84d5e36a61bd3c.tar.gz podman-9b4266eb942b10926ea69ba13d84d5e36a61bd3c.tar.bz2 podman-9b4266eb942b10926ea69ba13d84d5e36a61bd3c.zip |
Docker compat API - containers create ignores the name
/containers/create compat endpoint does not set the name correctly (#7857)
Signed-off-by: Milivoje Legenovic <m.legenovic@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/apiv2/rest_api/test_rest_v2_0_0.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/apiv2/rest_api/test_rest_v2_0_0.py b/test/apiv2/rest_api/test_rest_v2_0_0.py index 52348d4f4..abb820053 100644 --- a/test/apiv2/rest_api/test_rest_v2_0_0.py +++ b/test/apiv2/rest_api/test_rest_v2_0_0.py @@ -172,7 +172,7 @@ class TestApi(unittest.TestCase): self.assertEqual(net_default.status_code, 201, net_default.text) create = requests.post( - PODMAN_URL + "/v1.40/containers/create?name=postCreate", + PODMAN_URL + "/v1.40/containers/create?name=postCreateConnect", json={ "Cmd": ["top"], "Image": "alpine:latest", |