mirror of
https://github.com/containers/podman.git
synced 2026-10-20 17:05:07 -04:00
Add IndexConfigs to compat /info endpoint
Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
1 parent
094665ac0c
commit
4b384e08a9
3 files changed
+49
-11
No files matched your search
@@ -54,7 +54,10 @@ class TestSystem(unittest.TestCase):
|
||||
return super().tearDownClass()
|
||||
|
||||
def test_Info(self):
|
||||
self.assertIsNotNone(self.client.info())
|
||||
info = self.client.info()
|
||||
self.assertIsNotNone(info)
|
||||
self.assertEqual(info["RegistryConfig"]["IndexConfigs"]["localhost:5000"]["Secure"], False)
|
||||
self.assertEqual(info["RegistryConfig"]["IndexConfigs"]["localhost:5000"]["Mirrors"], ["mirror.localhost:5000"])
|
||||
|
||||
def test_info_container_details(self):
|
||||
info = self.client.info()
|
||||
|
||||
Reference in new issue
Block a user