]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/mgr/test_orchestrator_cli: fix test_host_ls 33477/head
authorSage Weil <sage@redhat.com>
Sat, 22 Feb 2020 01:16:06 +0000 (19:16 -0600)
committerSage Weil <sage@redhat.com>
Sat, 22 Feb 2020 01:16:06 +0000 (19:16 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/mgr/test_orchestrator_cli.py

index 4c465a7831979c47cb6de71e51c91e1a4686aca8..25e8b40ef9eb744d81bd3226b05900893df995c6 100644 (file)
@@ -148,7 +148,7 @@ class TestOrchestratorCli(MgrTestCase):
         out = self._orch_cmd("host", "ls", "--format=json")
         hosts = json.loads(out)
         self.assertEqual(len(hosts), 1)
-        self.assertEqual(hosts[0]["host"], "localhost")
+        self.assertEqual(hosts[0]["hostname"], "localhost")
 
     def test_host_add(self):
         self._orch_cmd("host", "add", "hostname")