diff --git a/zaza/openstack/charm_tests/keystone/tests.py b/zaza/openstack/charm_tests/keystone/tests.py index b4c4124..f12c382 100644 --- a/zaza/openstack/charm_tests/keystone/tests.py +++ b/zaza/openstack/charm_tests/keystone/tests.py @@ -202,7 +202,7 @@ class CharmOperationTest(BaseKeystoneTest): conf = zaza.model.file_contents('glance/leader', GLANCE_CONF_FILE) config = configparser.ConfigParser() config.read_string(conf) - return config['image_format']['password'].strip() + return config['keystone_authtoken']['password'].strip() # Only do the test if glance is in the model. applications = zaza.model.sync_deployed(self.model_name)