Merge "Avoid load real policy from policy.d when using fake policy fixture"
This commit is contained in:
commit
430c92e3cd
@ -79,6 +79,7 @@ class PolicyFixture(RealPolicyFixture):
|
||||
'policy.json')
|
||||
with open(self.policy_file, 'w') as f:
|
||||
f.write(fake_policy.policy_data)
|
||||
CONF.set_override('policy_dirs', [])
|
||||
|
||||
|
||||
class RoleBasedPolicyFixture(RealPolicyFixture):
|
||||
|
Loading…
x
Reference in New Issue
Block a user