def test_one_button_when_channel_specified(self):
    '\n        There should be only one button when the channel is given.\n        '
    self.client.get(self.url, {'channel': 'beta'})
    self.button_mock.assert_called_once_with('beta', force_direct=True, force_full_installer=True, locale=None)
There should be only one button when the channel is given.
def test_one_button_when_channel_specified(self):
    '\n        \n        '
    self.client.get(self.url, {'channel': 'beta'})
    self.button_mock.assert_called_once_with('beta', force_direct=True, force_full_installer=True, locale=None)