Fix account generator error message

The user dict does not contain a "user" field.

TrivialFix

Change-Id: Ie4afa7947d750c85e5c7a04b5ef7155086aacace
This commit is contained in:
Marc Koderer 2016-04-22 05:14:20 -05:00
parent a66e40eb8e
commit a5059e0857
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ def create_resources(opts, resources):
user = identity.get_user_by_username(tenants_admin,
tenant['id'], u['name'])
except tempest.lib.exceptions.NotFound:
LOG.error("User: %s - not found" % u['user'])
LOG.error("User: %s - not found" % u['name'])
continue
for r in u['role_ids']:
try: