Merge "Add missing ws seperator between words part 2"

This commit is contained in:
Zuul 2018-12-23 22:46:21 +00:00 committed by Gerrit Code Review
commit 976e87a986
4 changed files with 6 additions and 8 deletions

View File

@ -114,8 +114,7 @@ class InheritedRolesClient(rest_client.RestClient):
def check_user_has_flag_on_inherited_to_project(
self, project_id, user_id, role_id):
"""Checks whether a user has a role assignment"""
"""with the inherited_to_projects flag on a project."""
"""Check if user has an inherited project role on project"""
resp, body = self.head(
"OS-INHERIT/projects/%s/users/%s/roles/%s/inherited_to_projects"
% (project_id, user_id, role_id))
@ -142,8 +141,7 @@ class InheritedRolesClient(rest_client.RestClient):
def check_group_has_flag_on_inherited_to_project(
self, project_id, group_id, role_id):
"""Checks whether a group has a role assignment"""
"""with the inherited_to_projects flag on a project."""
"""Check if group has an inherited project role on project"""
resp, body = self.head(
"OS-INHERIT/projects/%s/groups/%s/roles/%s/inherited_to_projects"
% (project_id, group_id, role_id))