'Assign a role to a user on a tenant.'

@decorators.idempotent_id('0146f675-ffbd-4208-b3a4-60eb628dbc5e')
def test_assign_user_role(self):

    (user, tenant, role) = self._get_role_params()
    self.roles_client.create_user_role_on_project(tenant['id'], user['id'], role['id'])
    roles = self.roles_client.list_user_roles_on_project(tenant['id'], user['id'])['roles']
    self.assert_role_in_role_list(role, roles)
