From 55018215fb4d49a040c37bd12cf33834fbd3d1be Mon Sep 17 00:00:00 2001 From: John Rouillard Date: Mon, 30 Dec 2024 20:54:46 -0500 Subject: [PATCH] test: issue2551253. fix test for default hash is PBKDF2-SHA512. Some rest responses include the password field which includes the hash method. --- test/rest_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/rest_common.py b/test/rest_common.py index 36a63cff..f6923af3 100644 --- a/test/rest_common.py +++ b/test/rest_common.py @@ -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', @@ -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' }