From 955aaccc55218cd0022a1180df4c15bb27674a8f Mon Sep 17 00:00:00 2001 From: troyready Date: Wed, 10 Mar 2021 19:16:03 -0800 Subject: fix use with localhost (testing) Signed-off-by: troyready --- test/apiv2/rest_api/test_rest_v2_0_0.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'test/apiv2/rest_api') 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) -- cgit v1.2.3-54-g00ecf