Make the filename the first argument to rekey_file

This commit is contained in:
Abhijit Menon-Sen 2015-08-26 19:54:59 +05:30
parent c4b2540ecc
commit b84053019a
3 changed files with 3 additions and 3 deletions

View file

@ -185,7 +185,7 @@ class TestVaultEditor(unittest.TestCase):
# make sure the password functions for the cipher
error_hit = False
try:
ve.rekey_file('ansible2', v10_file.name)
ve.rekey_file(v10_file.name, 'ansible2')
except errors.AnsibleError as e:
error_hit = True