Remove usage of parameter enforce_type
We deprecate and change parameter enforce_type's default value to True[1], so don't need usage enforce_type. [1] https://review.openstack.org/328692 Change-Id: Ib89cb9bc8afa13e13350e80ec9210ab9e878201f
This commit is contained in:
parent
058395bc5e
commit
4af9127cb6
@ -129,7 +129,7 @@ class ConfFixture(fixtures.Fixture):
|
||||
|
||||
@transport_driver.setter
|
||||
def transport_driver(self, value):
|
||||
self.conf.set_override('rpc_backend', value, enforce_type=True)
|
||||
self.conf.set_override('rpc_backend', value)
|
||||
|
||||
@property
|
||||
def response_timeout(self):
|
||||
@ -138,5 +138,4 @@ class ConfFixture(fixtures.Fixture):
|
||||
|
||||
@response_timeout.setter
|
||||
def response_timeout(self, value):
|
||||
self.conf.set_override('rpc_response_timeout', value,
|
||||
enforce_type=True)
|
||||
self.conf.set_override('rpc_response_timeout', value)
|
||||
|
@ -59,7 +59,7 @@ class BaseTestCase(base.BaseTestCase):
|
||||
"""
|
||||
group = kw.pop('group', None)
|
||||
for k, v in kw.items():
|
||||
self.conf.set_override(k, v, group, enforce_type=True)
|
||||
self.conf.set_override(k, v, group)
|
||||
|
||||
|
||||
class ServerThreadHelper(threading.Thread):
|
||||
|
Loading…
Reference in New Issue
Block a user