diff options
author | troyready <troy@troyready.com> | 2021-03-10 19:16:03 -0800 |
---|---|---|
committer | troyready <troy@troyready.com> | 2021-03-12 10:48:03 -0800 |
commit | 955aaccc55218cd0022a1180df4c15bb27674a8f (patch) | |
tree | 65f460555d3c010402fc8eafeda2748739dc18f1 /test/apiv2/rest_api | |
parent | 9251b6c8cfaa5db738212c467c79f8c3aceb5b7d (diff) | |
download | podman-955aaccc55218cd0022a1180df4c15bb27674a8f.tar.gz podman-955aaccc55218cd0022a1180df4c15bb27674a8f.tar.bz2 podman-955aaccc55218cd0022a1180df4c15bb27674a8f.zip |
fix use with localhost (testing)
Signed-off-by: troyready <troy@troyready.com>
Diffstat (limited to 'test/apiv2/rest_api')
-rw-r--r-- | test/apiv2/rest_api/test_rest_v2_0_0.py | 12 |
1 files changed, 0 insertions, 12 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 062cf9386..d7910f555 100644 --- a/test/apiv2/rest_api/test_rest_v2_0_0.py +++ b/test/apiv2/rest_api/test_rest_v2_0_0.py @@ -555,18 +555,6 @@ class TestApi(unittest.TestCase): self.assertIn(name, payload["VolumesDeleted"]) self.assertGreater(payload["SpaceReclaimed"], 0) - # TBD: how to test auth endpoint (which in turn requires a docker registry to connect to) - # def test_auth_compat(self): - # r = requests.post( - # PODMAN_URL + "/v1.40/auth", - # json={ - # "username": "bozo", - # "password": "wedontneednopasswords", - # "serveraddress": "https://localhost/v1.40/", - # }, - # ) - # self.assertEqual(r.status_code, 404, r.content) - def test_version(self): r = requests.get(PODMAN_URL + "/v1.40/version") self.assertEqual(r.status_code, 200, r.content) |