Skip to content

Commit 5501821

Browse files
committed
test: issue2551253. fix test for default hash is PBKDF2-SHA512.
Some rest responses include the password field which includes the hash method.
1 parent 8a1219a commit 5501821

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rest_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ def testOutputFormat(self):
928928
{'id': '2',
929929
'username': 'anonymous',
930930
'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/2'},
931-
{'password': '[password hidden scheme PBKDF2]',
931+
{'password': '[password hidden scheme PBKDF2S5]',
932932
'id': '3',
933933
'queries': [],
934934
'username': 'joe',
@@ -953,7 +953,7 @@ def testOutputFormat(self):
953953
'creator': {'id': '1',
954954
'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/1',
955955
'username': 'admin'},
956-
'password': '[password hidden scheme PBKDF2]',
956+
'password': '[password hidden scheme PBKDF2S5]',
957957
'queries': [],
958958
'username': 'joe'
959959
}

0 commit comments

Comments
 (0)