'Try to scope token whose only roles are inherited.'

def test_scope_to_project_with_only_inherited_roles(self):

    r = self.v3_create_token(self.TOKEN_SCOPE_PROJECT_INHERITED_FROM_CUSTOMER)
    token_resp = r.result['token']
    self._check_project_scoped_token_attributes(token_resp, self.project_inherited['id'])
    roles_ref = [self.role_customer]
    projects_ref = self.project_inherited
    self._check_projects_and_roles(token_resp, roles_ref, projects_ref)
    self.assertValidMappedUser(token_resp)
