Merge "Address follow-up comments from previous patchset"

This commit is contained in:
Jenkins 2017-01-28 00:19:17 +00:00 committed by Gerrit Code Review
commit f505abb1a8
2 changed files with 4 additions and 2 deletions

View File

@ -364,8 +364,7 @@ Relationship: ``http://docs.openstack.org/api/openstack-identity/3/rel/user_chan
Changes the password for a user.
.. note::
This API can be called directly without authenticating and providing a token in the
``X-Auth-Token`` request header.
This API call does not require a token for authentication.
Response Codes
--------------

View File

@ -959,6 +959,9 @@ class UserSelfServiceChangingPasswordsTestCase(ChangePasswordTestCase):
self.change_password(password=new_password,
original_password=password,
expected_status=http_client.NO_CONTENT)
# new password works
self.get_request_token(new_password,
expected_status=http_client.CREATED)
def test_changing_expired_password_with_disabled_user_fails(self):
self.config_fixture.config(group='security_compliance',