def test_buttons_use_lang(self):
    '\n        The buttons should use the lang from the query parameter.\n        '
    self.client.get(self.url, {'installer_lang': 'fr'})
    self.button_mock.assert_has_calls([call(force_direct=True, force_full_installer=True, locale='fr'), call('beta', small=ANY, force_direct=True, force_full_installer=True, icon=ANY, locale='fr'), call('aurora', small=ANY, force_direct=True, force_full_installer=True, icon=ANY, locale='fr')])
The buttons should use the lang from the query parameter.
def test_buttons_use_lang(self):
    '\n        \n        '
    self.client.get(self.url, {'installer_lang': 'fr'})
    self.button_mock.assert_has_calls([call(force_direct=True, force_full_installer=True, locale='fr'), call('beta', small=ANY, force_direct=True, force_full_installer=True, icon=ANY, locale='fr'), call('aurora', small=ANY, force_direct=True, force_full_installer=True, icon=ANY, locale='fr')])