Mercurial > p > roundup > code
comparison test/rest_common.py @ 8243:8c1e0459b73d
test: issue2551253. fix test for default hash is PBKDF2-SHA512.
Some rest responses include the password field which includes the hash method.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 30 Dec 2024 20:54:46 -0500 |
| parents | 818751637b77 |
| children | 05d8806b25ad |
comparison
equal
deleted
inserted
replaced
| 8242:393dfc750d8b | 8243:8c1e0459b73d |
|---|---|
| 926 'username': 'admin', | 926 'username': 'admin', |
| 927 'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/1'}, | 927 'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/1'}, |
| 928 {'id': '2', | 928 {'id': '2', |
| 929 'username': 'anonymous', | 929 'username': 'anonymous', |
| 930 'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/2'}, | 930 '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]', |
| 932 'id': '3', | 932 'id': '3', |
| 933 'queries': [], | 933 'queries': [], |
| 934 'username': 'joe', | 934 'username': 'joe', |
| 935 'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/3'}], | 935 'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/3'}], |
| 936 '@total_size': 3}} | 936 '@total_size': 3}} |
| 951 'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/3', | 951 'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/3', |
| 952 'attributes': { | 952 'attributes': { |
| 953 'creator': {'id': '1', | 953 'creator': {'id': '1', |
| 954 'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/1', | 954 'link': 'http://tracker.example/cgi-bin/roundup.cgi/bugs/rest/data/user/1', |
| 955 'username': 'admin'}, | 955 'username': 'admin'}, |
| 956 'password': '[password hidden scheme PBKDF2]', | 956 'password': '[password hidden scheme PBKDF2S5]', |
| 957 'queries': [], | 957 'queries': [], |
| 958 'username': 'joe' | 958 'username': 'joe' |
| 959 } | 959 } |
| 960 }} | 960 }} |
| 961 | 961 |
