summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjneo8 <james.lin@canonical.com>2022-04-07 12:07:45 +0800
committerjneo8 <james.lin@canonical.com>2022-04-07 12:08:08 +0800
commit5433494c0ecb3e28fe6463290e1ac07f7b66260b (patch)
tree84d5992d2fe1889b0efd91d1180bbd5975829e3d
parentc141e6164e77f5ebb1369016d06de23a308ef510 (diff)
downloadkeystone-5433494c0ecb3e28fe6463290e1ac07f7b66260b.tar.gz
typo fix in docstring
Change-Id: I7a4d708c33049896ead745b61bd06477393b0392
-rw-r--r--keystone/tests/unit/base_classes.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/keystone/tests/unit/base_classes.py b/keystone/tests/unit/base_classes.py
index 95bf7fa02..9bf3b50eb 100644
--- a/keystone/tests/unit/base_classes.py
+++ b/keystone/tests/unit/base_classes.py
@@ -31,7 +31,7 @@ class TestCaseWithBootstrap(core.BaseTestCase):
Re-implementation of TestCase that doesn't load a bunch of fixtures by
hand and instead uses the bootstrap process. This makes it so that our base
tests have the same things available to us as operators after they run
- boostrap. It also makes our tests DRY and pushes setup required for
+ bootstrap. It also makes our tests DRY and pushes setup required for
specific tests into the actual test class, instead of pushing it into a
generic structure that gets loaded for every test.
@@ -46,7 +46,7 @@ class TestCaseWithBootstrap(core.BaseTestCase):
ksfixtures.KeyRepository(
self.config_fixture,
'fernet_tokens',
- CONF.fernet_tokens.max_active_keys
+ CONF.fernet_tokens.max_active_keys,
)
)
@@ -54,7 +54,7 @@ class TestCaseWithBootstrap(core.BaseTestCase):
ksfixtures.KeyRepository(
self.config_fixture,
'fernet_receipts',
- CONF.fernet_receipts.max_active_keys
+ CONF.fernet_receipts.max_active_keys,
)
)
@@ -72,7 +72,8 @@ class TestCaseWithBootstrap(core.BaseTestCase):
try:
PROVIDERS.resource_api.create_domain(
default_fixtures.ROOT_DOMAIN['id'],
- default_fixtures.ROOT_DOMAIN)
+ default_fixtures.ROOT_DOMAIN,
+ )
except exception.Conflict:
pass