@override_settings(DEV=True)
@patch.dict(product_details.firefox_versions, LATEST_FIREFOX_VERSION='25.0', FIREFOX_ESR='24.1')
@patch('bedrock.mozorg.helpers.download_buttons.latest_version', return_value=('25.0', GOOD_PLATS))
def test_esr_firefox(self, latest_mock):
    '\n        Currently released ESR firefoxen should not redirect. At present\n        that is 24.0.x.\n        '
    user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Firefox/24.0'
    response = self.client.get(self.url, HTTP_USER_AGENT=user_agent)
    eq_(response.status_code, 200)
    eq_(response['Vary'], 'User-Agent')
Currently released ESR firefoxen should not redirect. At present
that is 24.0.x.
@override_settings(DEV=True)
@patch.dict(product_details.firefox_versions, LATEST_FIREFOX_VERSION='25.0', FIREFOX_ESR='24.1')
@patch('bedrock.mozorg.helpers.download_buttons.latest_version', return_value=('25.0', GOOD_PLATS))
def test_esr_firefox(self, latest_mock):
    '\n        Currently released ESR firefoxen should not redirect. At present\n        that is 24.0.x.\n        '
    user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Firefox/24.0'
    response = self.client.get(self.url, HTTP_USER_AGENT=user_agent)
    eq_(response.status_code, 200)
    eq_(response['Vary'], 'User-Agent')