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: Ibfb2ccddb5fb80d1ae4f9f39e42305646bb2da12
This commit is contained in:
parent
7d0e28f1fe
commit
741b464051
@ -50,12 +50,12 @@ class FunctionalTest(base.BaseTest):
|
||||
self.CONF.set_override('policy_file', os.path.join(vitrage_root,
|
||||
'etc', 'vitrage',
|
||||
'policy.json'),
|
||||
group='oslo_policy', enforce_type=True)
|
||||
group='oslo_policy')
|
||||
|
||||
self.CONF.set_override('paste_config', os.path.join(vitrage_root,
|
||||
'etc', 'vitrage',
|
||||
'api-paste.ini'),
|
||||
group='api', enforce_type=True)
|
||||
group='api')
|
||||
|
||||
self.CONF.set_override('auth_mode', self.auth, group='api')
|
||||
self.app = webtest.TestApp(app.load_app(self.CONF))
|
||||
|
Loading…
x
Reference in New Issue
Block a user