@override_settings(DEV=False)
def test_fx_australis_secure_redirect(self, render_mock):
    'Should redirect to https:'
    url = '/en-US/firefox/firstrun/'
    req = self.rf.get(url)
    with patch.object(req, 'is_secure', return_value=False):
        resp = self.view(req, version='29.0')
    eq_(resp['location'], ('https://testserver' + url))
Should redirect to https:
@override_settings(DEV=False)
def test_fx_australis_secure_redirect(self, render_mock):
    
    url = '/en-US/firefox/firstrun/'
    req = self.rf.get(url)
    with patch.object(req, 'is_secure', return_value=False):
        resp = self.view(req, version='29.0')
    eq_(resp['location'], ('https://testserver' + url))