summaryrefslogtreecommitdiff
path: root/nova/tests/fixtures/policy.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests/fixtures/policy.py')
-rw-r--r--nova/tests/fixtures/policy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/fixtures/policy.py b/nova/tests/fixtures/policy.py
index daecc2868b..b0b844fe37 100644
--- a/nova/tests/fixtures/policy.py
+++ b/nova/tests/fixtures/policy.py
@@ -65,7 +65,7 @@ class RealPolicyFixture(fixtures.Fixture):
def add_missing_default_rules(self, rules):
"""Adds default rules and their values to the given rules dict.
- The given rulen dict may have an incomplete set of policy rules.
+ The given rules dict may have an incomplete set of policy rules.
This method will add the default policy rules and their values to
the dict. It will not override the existing rules.
"""
@@ -141,7 +141,7 @@ class OverridePolicyFixture(RealPolicyFixture):
not used. One example is when policy rules are deprecated. In that case
tests can use this fixture and verify if deprecated rules are overridden
then does nova code enforce the overridden rules not only defaults.
- As per oslo.policy deprecattion feature, if deprecated rule is overridden
+ As per oslo.policy deprecation feature, if deprecated rule is overridden
in policy file then, overridden check is used to verify the policy.
Example of usage: