'Verify that the language selector is present and correctly configured.'

def _verify_language_selector(self, content, selected_language):

    self.assertIn('footer-language-selector', content)
    self.assertIn('<option    value="{}"    selected="selected">'.format(selected_language), content)
    for language in released_languages():
        if (language.code == selected_language):
            continue
        self.assertIn('<option    value="{}">'.format(language.code), content)
