From b40ddae08c9baf227acb8064370d780da37d96ae Mon Sep 17 00:00:00 2001 From: Liam Young Date: Wed, 18 Apr 2018 15:36:32 +0000 Subject: [PATCH] Update vault tests for paramater reordering --- zaza/charm_tests/vault/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zaza/charm_tests/vault/utils.py b/zaza/charm_tests/vault/utils.py index 16ff5de..4d67870 100644 --- a/zaza/charm_tests/vault/utils.py +++ b/zaza/charm_tests/vault/utils.py @@ -127,8 +127,8 @@ def get_credentails(): with tempfile.TemporaryDirectory() as tmpdirname: tmp_file = '{}/{}'.format(tmpdirname, AUTH_FILE) zaza.model.scp_from_unit( - unit, utils.get_juju_model(), + unit, '~/{}'.format(AUTH_FILE), tmp_file) with open(tmp_file, 'r') as stream: @@ -148,8 +148,8 @@ def store_credentails(creds): fp.write(yaml.dump(creds)) fp.flush() zaza.model.scp_to_unit( - unit, utils.get_juju_model(), + unit, fp.name, '~/{}'.format(AUTH_FILE))