diff --git a/gnocchi/tests/base.py b/gnocchi/tests/base.py index 21c5c0236..3cb9a46c5 100644 --- a/gnocchi/tests/base.py +++ b/gnocchi/tests/base.py @@ -315,7 +315,7 @@ def setUp(self): os.path.join(py_root, 'rest', 'api-paste.ini'), group="api") self.conf.set_override('policy_file', - os.path.join(py_root, 'rest', 'policy.json'), + os.path.join(py_root, 'rest', 'policy.yaml'), group="oslo_policy") # NOTE(jd) This allows to test S3 on AWS diff --git a/gnocchi/tests/functional/fixtures.py b/gnocchi/tests/functional/fixtures.py index 7585ae2f9..dd098a0cb 100644 --- a/gnocchi/tests/functional/fixtures.py +++ b/gnocchi/tests/functional/fixtures.py @@ -111,7 +111,7 @@ def start_fixture(self): os.path.join(py_root, 'rest', 'api-paste.ini'), group="api") conf.set_override('policy_file', - os.path.join(py_root, 'rest', 'policy.json'), + os.path.join(py_root, 'rest', 'policy.yaml'), group="oslo_policy") # NOTE(sileht): This is not concurrency safe, but only this tests file