Make sure that v2 api tests have the policy file configured
Change-Id: I2533f4f1724aa4ae9808ff0d533f49c0ef42afe4
This commit is contained in:
parent
0f57d7573c
commit
596bedfe36
@ -86,6 +86,8 @@ class FunctionalTest(db_test_base.TestBase):
|
||||
super(FunctionalTest, self).setUp()
|
||||
service.prepare_service()
|
||||
cfg.CONF.set_override("auth_version", "v2.0", group=acl.OPT_GROUP_NAME)
|
||||
cfg.CONF.set_override("policy_file",
|
||||
self.path_get('tests/policy.json'))
|
||||
self.app = self._make_app()
|
||||
|
||||
def _make_app(self, enable_acl=False):
|
||||
|
Loading…
Reference in New Issue
Block a user