Skip to content

Commit

Permalink
test: issue2551253. fix test for default hash is PBKDF2-SHA512.
Browse files Browse the repository at this point in the history
Some rest responses include the password field which includes the hash method.
  • Loading branch information
rouilj committed Dec 31, 2024
1 parent 8a1219a commit 5501821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rest_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ def testOutputFormat(self):
{'id': '2',
'username': 'anonymous',
'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/2'},
{'password': '[password hidden scheme PBKDF2]',
{'password': '[password hidden scheme PBKDF2S5]',
'id': '3',
'queries': [],
'username': 'joe',
Expand All @@ -953,7 +953,7 @@ def testOutputFormat(self):
'creator': {'id': '1',
'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/1',
'username': 'admin'},
'password': '[password hidden scheme PBKDF2]',
'password': '[password hidden scheme PBKDF2S5]',
'queries': [],
'username': 'joe'
}
Expand Down

0 comments on commit 5501821

Please sign in to comment.