def test_buttons_ignore_non_lang(self):
    '\n        The buttons should ignore an invalid lang.\n        '
    self.client.get(self.url, {'installer_lang': 'not-a-locale'})
    self.button_mock.assert_has_calls([call(force_direct=True, force_full_installer=True, locale=None), call('beta', small=ANY, force_direct=True, force_full_installer=True, icon=ANY, locale=None), call('aurora', small=ANY, force_direct=True, force_full_installer=True, icon=ANY, locale=None)])
The buttons should ignore an invalid lang.
def test_buttons_ignore_non_lang(self):
    '\n        \n        '
    self.client.get(self.url, {'installer_lang': 'not-a-locale'})
    self.button_mock.assert_has_calls([call(force_direct=True, force_full_installer=True, locale=None), call('beta', small=ANY, force_direct=True, force_full_installer=True, icon=ANY, locale=None), call('aurora', small=ANY, force_direct=True, force_full_installer=True, icon=ANY, locale=None)])