Grant the new user to os_creds.project_name 59/40059/1
authorLinda Wang <wangwulin@huawei.com>
Thu, 24 Aug 2017 06:33:55 +0000 (06:33 +0000)
committerLinda Wang <wangwulin@huawei.com>
Thu, 24 Aug 2017 06:33:55 +0000 (06:33 +0000)
commitff33255c53787b12a65db2db163c68247a5f5ae8
tree62c94492c85329cd6fa76ebebe63353ee5adf5d2
parente7b96a812bb7b30416b4adb24ef0f22666687c10
Grant the new user to os_creds.project_name

For the test test_create_admin_user, the new user is
granted to the project "admin", so the role retrieval
is None with os_creds.project_name, which is not "admin".

Change-Id: I840d81ec83a72fc913edef8d4200223dfa2eca39
Signed-off-by: Linda Wang <wangwulin@huawei.com>
snaps/openstack/tests/create_user_tests.py