From dfe9bf9c659d52654ac4c4cdcc0fbc4b3806e59f Mon Sep 17 00:00:00 2001 From: rajat29 Date: Wed, 31 May 2017 16:54:08 +0530 Subject: [PATCH] Remove usage of parameter enforce_type Oslo.config deprecated parameter enforce_type and change its default value to True in Ifa552de0a994e40388cbc9f7dbaa55700ca276b0. Remove the usage of it to avoid DeprecationWarning: "Using the 'enforce_type' argument is deprecated in version '4.0' and will be removed in version '5.0': The argument enforce_type has changed its default value to True and then will be removed completely." Change-Id: I10d550c5346e0935ee1ae3981d6ba41167577e20 --- vitrage/tests/functional/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitrage/tests/functional/api/__init__.py b/vitrage/tests/functional/api/__init__.py index 14c9b3910..3b877d22a 100644 --- a/vitrage/tests/functional/api/__init__.py +++ b/vitrage/tests/functional/api/__init__.py @@ -44,7 +44,7 @@ class FunctionalTest(base.BaseTest): self.conf.set_override('policy_file', os.path.abspath('etc/vitrage/policy.json'), - group='oslo_policy', enforce_type=True) + group='oslo_policy') self.app = self._make_app() def _make_app(self):