Add missing ws seperator between words

This is to add missing ws seperator between words, usually
in log messages.

Change-Id: I228573a755717bb9725267fad61706ce2ef3da87
This commit is contained in:
zhufl 2018-11-16 15:34:56 +08:00
parent f824fcf0d7
commit de67637682
6 changed files with 7 additions and 7 deletions

View File

@ -50,7 +50,7 @@ class TenantsTestJSON(base.BaseIdentityV2AdminTest):
'been sent in response for create') 'been sent in response for create')
body = self.tenants_client.show_tenant(tenant_id)['tenant'] body = self.tenants_client.show_tenant(tenant_id)['tenant']
desc2 = body['description'] desc2 = body['description']
self.assertEqual(desc2, tenant_desc, 'Description does not appear' self.assertEqual(desc2, tenant_desc, 'Description does not appear '
'to be set') 'to be set')
self.tenants_client.delete_tenant(tenant_id) self.tenants_client.delete_tenant(tenant_id)

View File

@ -31,7 +31,7 @@ class ProjectsTestJSON(base.BaseIdentityV3AdminTest):
'been sent in response for create') 'been sent in response for create')
body = self.projects_client.show_project(project_id)['project'] body = self.projects_client.show_project(project_id)['project']
desc2 = body['description'] desc2 = body['description']
self.assertEqual(desc2, project_desc, 'Description does not appear' self.assertEqual(desc2, project_desc, 'Description does not appear '
'to be set') 'to be set')
@decorators.idempotent_id('5f50fe07-8166-430b-a882-3b2ee0abe26f') @decorators.idempotent_id('5f50fe07-8166-430b-a882-3b2ee0abe26f')

View File

@ -279,7 +279,7 @@ class TempestCleanup(command.Command):
self.admin_id, self.admin_id,
self.admin_role_id) self.admin_role_id)
except Exception as ex: except Exception as ex:
LOG.exception("Failed removing role from project which still" LOG.exception("Failed removing role from project which still "
"exists, exception: %s", ex) "exists, exception: %s", ex)
def _project_exists(self, project_id): def _project_exists(self, project_id):

View File

@ -243,8 +243,8 @@ class TempestRun(command.Command):
parser.add_argument('--load-list', '--load_list', parser.add_argument('--load-list', '--load_list',
help='Path to a non-regex whitelist file, ' help='Path to a non-regex whitelist file, '
'this file contains a separate test ' 'this file contains a separate test '
'on each newline. This command' 'on each newline. This command '
'supports files created by the tempest' 'supports files created by the tempest '
'run ``--list-tests`` command') 'run ``--list-tests`` command')
# list only args # list only args
parser.add_argument('--list-tests', '-l', action='store_true', parser.add_argument('--list-tests', '-l', action='store_true',

View File

@ -324,7 +324,7 @@ class KeystoneAuthProvider(AuthProvider):
pass pass
if expiry is None: if expiry is None:
raise ValueError( raise ValueError(
"time data '{data}' does not match any of the" "time data '{data}' does not match any of the "
"expected formats: {formats}".format( "expected formats: {formats}".format(
data=expiry_string, formats=self.EXPIRY_DATE_FORMATS)) data=expiry_string, formats=self.EXPIRY_DATE_FORMATS))
return expiry return expiry

View File

@ -581,7 +581,7 @@ class BaseTestCase(testtools.testcase.WithAttributes,
def setUp(self): def setUp(self):
super(BaseTestCase, self).setUp() super(BaseTestCase, self).setUp()
if not self.__setupclass_called: if not self.__setupclass_called:
raise RuntimeError("setUpClass does not calls the super's" raise RuntimeError("setUpClass does not calls the super's "
"setUpClass in the " + "setUpClass in the " +
self.__class__.__name__) self.__class__.__name__)
at_exit_set.add(self.__class__) at_exit_set.add(self.__class__)