Fixed change password method to update password

After a server change password is done, the test wasnt able to ssh
into the server as the server object dint have the new password.
Made this change to update the server password

Change-Id: I6baef0e9d420f37970feb50cbc859075617ffdde
This commit is contained in:
Priyanka Agrawal
2014-04-10 18:16:28 +05:30
parent 1d4219192a
commit f2832ee2bf

View File

@@ -359,4 +359,5 @@ class ServerBehaviors(BaseBehavior):
assert resp.status_code is 202
resp = self.wait_for_server_status(server_id,
ServerStates.ACTIVE)
resp.entity.admin_pass = new_password
return resp.entity