'Verify that the footer language selector config is correct.'

@ddt.data(({'SHOW_FOOTER_LANGUAGE_SELECTOR': True}, {}, True), ({'SHOW_FOOTER_LANGUAGE_SELECTOR': False}, {'SHOW_FOOTER_LANGUAGE_SELECTOR': True}, True), ({'SHOW_FOOTER_LANGUAGE_SELECTOR': True}, {'SHOW_FOOTER_LANGUAGE_SELECTOR': False}, False))
@ddt.unpack
def test_footer_language_selector_is_enabled(self, base_config, site_config, expected):

    with patch.dict('django.conf.settings.FEATURES', base_config):
        with with_site_configuration_context(configuration=site_config):
            self.assertEqual(language_api.footer_language_selector_is_enabled(), expected)
