diff --git a/tempest/api/image/v2/test_images.py b/tempest/api/image/v2/test_images.py index aa57dafdd4..c938cee544 100644 --- a/tempest/api/image/v2/test_images.py +++ b/tempest/api/image/v2/test_images.py @@ -185,7 +185,7 @@ class ListUserImagesTest(base.BaseV2ImageTest): for disk_fmt in disk_fmts] for (container_fmt, disk_fmt) in all_pairs[:6]: - LOG.debug("Creating an image" + LOG.debug("Creating an image " "(Container format: %s, Disk format: %s).", container_fmt, disk_fmt) cls._create_standard_image(container_fmt, disk_fmt) diff --git a/tempest/api/network/test_dhcp_ipv6.py b/tempest/api/network/test_dhcp_ipv6.py index 399954c9d6..3ab2909af5 100644 --- a/tempest/api/network/test_dhcp_ipv6.py +++ b/tempest/api/network/test_dhcp_ipv6.py @@ -167,7 +167,7 @@ class NetworksTestDHCPv6(base.BaseNetworkTest): self._clean_network() self.assertNotEqual(eui_ip, real_ip, ('Real port IP %s equal to EUI-64 %s when ' - 'ipv6_ra_mode=Off and ipv6_address_mode=Off,' + 'ipv6_ra_mode=Off and ipv6_address_mode=Off, ' 'but shall be taken from fixed IPs') % ( real_ip, eui_ip)) diff --git a/tempest/config.py b/tempest/config.py index 18c9d9d2a2..bc609bce52 100644 --- a/tempest/config.py +++ b/tempest/config.py @@ -101,7 +101,7 @@ AuthGroup = [ deprecated_group='identity'), cfg.StrOpt('admin_domain_name', default='Default', - help="Admin domain name for authentication (Keystone V3)." + help="Admin domain name for authentication (Keystone V3). " "The same domain applies to user and project", deprecated_group='identity'), ] @@ -191,7 +191,7 @@ IdentityGroup = [ help="The number of passwords for a user that must be unique " "before an old password can be reused. This only takes " "effect when identity-feature-enabled.security_compliance " - "is set to 'True'." + "is set to 'True'. " "This config option corresponds to keystone.conf: " "security_compliance.unique_last_password_count, whose " "default value is 0 meaning disabling this feature. " diff --git a/tempest/lib/services/identity/v3/inherited_roles_client.py b/tempest/lib/services/identity/v3/inherited_roles_client.py index 691c7fdc99..3949437019 100644 --- a/tempest/lib/services/identity/v3/inherited_roles_client.py +++ b/tempest/lib/services/identity/v3/inherited_roles_client.py @@ -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))