Update vault tests for paramater reordering
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user