def setUp(self):
    self.button_mock = Mock()
    self.patcher = patch.dict('jingo.env.globals', download_firefox=self.button_mock)
    self.patcher.start()
    self.view_name = 'firefox.installer-help'
    with self.activate('en-US'):
        self.url = reverse(self.view_name)
def setUp(self):
    self.button_mock = Mock()
    self.patcher = patch.dict('jingo.env.globals', download_firefox=self.button_mock)
    self.patcher.start()
    self.view_name = 'firefox.installer-help'
    with self.activate('en-US'):
        self.url = reverse(self.view_name)