Removed kwarg enforce_type from oslo.config set_override method
This change relates to change
which removes the kwarg enforce_type from the oslo config library
functions set_override and set_default
@@ -32,21 +32,19 @@ class TestAuth(base.BaseTestCase):
def test_check_auth_option_enabled(self, mock_auth):
- self.CONF.config(auth_protocol="footp",
+ self.CONF.config(auth_protocol="http",
auth_version="v2.0",
auth_uri=None,
- group=auth.OPT_GROUP_NAME,
- enforce_type=False)
+ group=auth.OPT_GROUP_NAME)
self.CONF.config(enable_authentication=True)
result = auth.install(self.app, self.CONF.conf)
self.assertIsInstance(result, fakes.FakeAuthProtocol)
def test_check_auth_option_disabled(self, mock_auth):
- self.CONF.config(auth_protocol="footp",
+ self.CONF.config(auth_protocol="http",
auth_version="v2.0",
auth_uri=None,
- group=auth.OPT_GROUP_NAME,
- enforce_type=False)
+ group=auth.OPT_GROUP_NAME)
self.CONF.config(enable_authentication=False)
result = auth.install(self.app, self.CONF.conf)
self.assertIsInstance(result, fakes.FakeApp)
