Add test upgrade repo enc algo
This commit is contained in:
parent
6d2c318982
commit
8fb642bd10
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def test_upgrade_pwd_hash(enc_version, algo, params):
|
|||
if enc_version > 2:
|
||||
assert len(repo.salt) == 64
|
||||
|
||||
api.upgrade_repo_enc_algorithm (repo.repo_id, USER, algo, params) == 0
|
||||
api.upgrade_repo_enc_algorithm (repo.repo_id, USER, test_repo_passwd, algo, params) == 0
|
||||
|
||||
repo = api.get_repo(repo_id)
|
||||
assert repo.pwd_hash_algo == algo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue