commit | 0aa1fe1ba0661cb47514cd59a2b86c7d05bc80f5 | [log] [tgz] |
---|---|---|
author | Andrea Frittoli (andreaf) <andrea.frittoli@hpe.com> | Fri May 20 18:57:27 2016 +0100 |
committer | Andrea Frittoli (andreaf) <andrea.frittoli@hpe.com> | Mon May 23 14:21:58 2016 +0100 |
tree | 0b4896ad771e7d23ac3fc0457a772c86620bc22f | |
parent | 0e25a90793a17728ab235d21ee282db31add3d74 [diff] |
Fix update_password tests The current implementation uses object shallow copy to get new credentials and clients to restore the password after update, which is fragile and a bit complicated. Using one client is enough. To restore the password we clear auth to ensure a new token is requested, set the new password temporarily, restore the password and finally reset auth again. Change-Id: I41f442ee89b1bd37dacb02b5ca276abd85981295