'Ensure the excluded keys in the function are present.'

def test_confirm_exclusions(self):

    config = get_config()
    excluded_keys = ('global_overrides', 'cidr_networks', 'used_ips')
    for key in excluded_keys:
        config[key] = 'sentinel    value'
    with warnings.catch_warnings(record=True) as wl:
        di._check_all_conf_groups_present(config, self.env)
        self.assertEqual(0, len(wl))
    for key in excluded_keys:
        self.assertIn(key, config.keys())
