@override_settings(DEV=True)
def test_fx_australis_secure_redirect_not_dev(self, render_mock):
    'Should not redirect to https: in DEV mode.'
    url = '/en-US/firefox/tour/'
    req = self.rf.get(url)
    with patch.object(req, 'is_secure', return_value=False):
        resp = self.view(req, version='29.0')
    eq_(resp.status_code, 200)
Should not redirect to https: in DEV mode.
@override_settings(DEV=True)
def test_fx_australis_secure_redirect_not_dev(self, render_mock):
    
    url = '/en-US/firefox/tour/'
    req = self.rf.get(url)
    with patch.object(req, 'is_secure', return_value=False):
        resp = self.view(req, version='29.0')
    eq_(resp.status_code, 200)