diff --git a/tempest/api/identity/admin/v2/test_tenants.py b/tempest/api/identity/admin/v2/test_tenants.py index cda721c593..f68754e5b9 100644 --- a/tempest/api/identity/admin/v2/test_tenants.py +++ b/tempest/api/identity/admin/v2/test_tenants.py @@ -50,7 +50,7 @@ class TenantsTestJSON(base.BaseIdentityV2AdminTest): 'been sent in response for create') body = self.tenants_client.show_tenant(tenant_id)['tenant'] desc2 = body['description'] - self.assertEqual(desc2, tenant_desc, 'Description does not appear' + self.assertEqual(desc2, tenant_desc, 'Description does not appear ' 'to be set') self.tenants_client.delete_tenant(tenant_id) diff --git a/tempest/api/identity/admin/v3/test_projects.py b/tempest/api/identity/admin/v3/test_projects.py index 6ddf42ebdb..f75edaa505 100644 --- a/tempest/api/identity/admin/v3/test_projects.py +++ b/tempest/api/identity/admin/v3/test_projects.py @@ -31,7 +31,7 @@ class ProjectsTestJSON(base.BaseIdentityV3AdminTest): 'been sent in response for create') body = self.projects_client.show_project(project_id)['project'] desc2 = body['description'] - self.assertEqual(desc2, project_desc, 'Description does not appear' + self.assertEqual(desc2, project_desc, 'Description does not appear ' 'to be set') @decorators.idempotent_id('5f50fe07-8166-430b-a882-3b2ee0abe26f') diff --git a/tempest/cmd/cleanup.py b/tempest/cmd/cleanup.py index 29abd49098..2f54f9a642 100644 --- a/tempest/cmd/cleanup.py +++ b/tempest/cmd/cleanup.py @@ -279,7 +279,7 @@ class TempestCleanup(command.Command): self.admin_id, self.admin_role_id) 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) def _project_exists(self, project_id): diff --git a/tempest/cmd/run.py b/tempest/cmd/run.py index 84c6d9a828..3e84b82aa1 100644 --- a/tempest/cmd/run.py +++ b/tempest/cmd/run.py @@ -243,8 +243,8 @@ class TempestRun(command.Command): parser.add_argument('--load-list', '--load_list', help='Path to a non-regex whitelist file, ' 'this file contains a separate test ' - 'on each newline. This command' - 'supports files created by the tempest' + 'on each newline. This command ' + 'supports files created by the tempest ' 'run ``--list-tests`` command') # list only args parser.add_argument('--list-tests', '-l', action='store_true', diff --git a/tempest/lib/auth.py b/tempest/lib/auth.py index 2dd9d00ce7..8e6d3d5fe9 100644 --- a/tempest/lib/auth.py +++ b/tempest/lib/auth.py @@ -324,7 +324,7 @@ class KeystoneAuthProvider(AuthProvider): pass if expiry is None: raise ValueError( - "time data '{data}' does not match any of the" + "time data '{data}' does not match any of the " "expected formats: {formats}".format( data=expiry_string, formats=self.EXPIRY_DATE_FORMATS)) return expiry diff --git a/tempest/test.py b/tempest/test.py index f2babbb961..3e98c33474 100644 --- a/tempest/test.py +++ b/tempest/test.py @@ -581,7 +581,7 @@ class BaseTestCase(testtools.testcase.WithAttributes, def setUp(self): super(BaseTestCase, self).setUp() 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 " + self.__class__.__name__) at_exit_set.add(self.__class__)