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:
@@ -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
|
||||
|
Reference in New Issue
Block a user