From f44f4e8d17d74fa96e571897fd6b30b03b00bfbf Mon Sep 17 00:00:00 2001 From: Van Hung Pham Date: Wed, 14 Jun 2017 10:59:08 +0700 Subject: [PATCH] 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 --- ironic_staging_drivers/tests/unit/amt/test_common.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ironic_staging_drivers/tests/unit/amt/test_common.py b/ironic_staging_drivers/tests/unit/amt/test_common.py index 8cd03c0..f420aef 100644 --- a/ironic_staging_drivers/tests/unit/amt/test_common.py +++ b/ironic_staging_drivers/tests/unit/amt/test_common.py @@ -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')