diff --git a/zaza/charm_tests/lifecycle/tests.py b/zaza/charm_tests/lifecycle/tests.py index a7ec249b9..304041ff1 100644 --- a/zaza/charm_tests/lifecycle/tests.py +++ b/zaza/charm_tests/lifecycle/tests.py @@ -36,13 +36,13 @@ def run(self, charms): :returns: Status of charm upgrade test :rtype: bool """ - logging.info("Performing a charm upgrade on: {}".format(charms)) + logging.info("Performing a charm upgrade on: %s", charms) cwd = os.getcwd() for charm in charms: charm_path = cwd + '/' + charm + '.charm' - logging.debug("Upgrading {} to {}".format(charm, charm_path)) + logging.debug("Upgrading %s to %s", charm, charm_path) subprocess.check_call([ - 'juju', 'upgrade-charm', + 'juju', 'refresh', '--path', str(charm_path), str(charm) ])