rally/tests/unit
Zhongcheng Lao 810970e68e Fixed create_user_update_password scenario with keystone v3 endpoint
create_user_update_password failed with keystone v3 endpoint due to
API inconsistency. The method has been changed to users.update in v3
for admin endpoint.

users.update_password is going to update the user's password to which
the token belongs in v3. Unlike v2, It no longer works to update
the user password by admin user.

When calling users.update_password, the user id will
be extracted from the request context in keystone, which is why
users.update_password no longer requires user id to be passed as an arg.
The old password needs to be supplied for authentication.

Rally calls users.update_password in create_user_update_password in v3.
It basically tells keystone to update the admin user's password,
which will result a different behavior to v2.

Besides, user id is wrongly passed as the user's old password in v3,
which result an UnauthorizedException in keystone and fail the test.

This commit will use users.update to update the user password with
admin clients.

Change-Id: I063c0e488a2dddd72ed865c984efcd0fa596a850
Closes-Bug: 1469590
2015-08-14 10:19:38 +00:00
..
cli Place rally.conf under virtualenv 2015-08-07 23:14:25 +03:00
common Move rally/objects -> rally/common/objects 2015-08-05 22:56:17 +03:00
deployment Move rally/objects -> rally/common/objects 2015-08-05 22:56:17 +03:00
doc Rename rally/benchmark to rally/task 2015-07-01 23:38:48 +03:00
plugins Fixed create_user_update_password scenario with keystone v3 endpoint 2015-08-14 10:19:38 +00:00
rally_jobs Rename rally/benchmark to rally/task 2015-07-01 23:38:48 +03:00
task Merge "[Reports] Add classes for task HTML report charts" 2015-08-12 18:42:03 +00:00
ui Optimize Rally imports to reduce start time 2015-07-06 21:55:33 -07:00
verification Move rally/objects -> rally/common/objects 2015-08-05 22:56:17 +03:00
__init__.py Reorganize test module structure 2014-10-07 13:50:40 +00:00
fakes.py Make context plugins decide how to map their data for scenario 2015-08-10 15:43:51 -07:00
test_api.py Move rally/objects -> rally/common/objects 2015-08-05 22:56:17 +03:00
test_docstrings.py Rename EngineFactory -> Engine 2015-08-04 17:35:58 +03:00
test_fuelclient.py Refactor rally/deploy -> rally/deployment 2015-07-01 17:32:30 -07:00
test_hacking.py Move rally/objects -> rally/common/objects 2015-08-05 22:56:17 +03:00
test_log.py unit-tests: fix mocks' naming 2015-06-19 22:57:34 +03:00
test_mock.py unit-tests: fix mock check errors messages 2015-06-27 16:20:33 +03:00
test_osclients.py Move rally/objects -> rally/common/objects 2015-08-05 22:56:17 +03:00
test_resources.py Rename rally.cmd to rally.cli 2015-05-21 18:14:19 +03:00
test_test_mock.py unit-tests: inception: add mock check unit-tests 2015-07-13 17:01:11 +03:00
test.py Move rally/db -> rally/common/db 2015-08-05 03:22:19 +03:00