Remove usage of parameter enforce_type

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: Ia189a7ee1d4e2c238cfb0e25d00c250be2f231b9
This commit is contained in:
Van Hung Pham 2017-06-14 10:59:08 +07:00
parent c67e89c1f1
commit f44f4e8d17
1 changed files with 1 additions and 2 deletions

View File

@ -212,5 +212,4 @@ class AwakeAMTInterfaceTestCase(db_base.DbTestCase):
def test_out_range_protocol(self):
self.assertRaises(ValueError, cfg.CONF.set_override,
'protocol', 'fake', 'amt_driver',
enforce_type=True)
'protocol', 'fake', 'amt_driver')