'AAQ should redirect for products with questions disabled for the
current locale'

def test_redirect_locale_not_enabled(self):

    url_fi = reverse('questions.aaq_step1', locale='fi')
    res = self.client.get(url_fi)
    eq_(200, res.status_code)
    p = ProductFactory(slug='firefox')
    url_fi = reverse('questions.aaq_step2', locale='fi', args=['desktop'])
    url_en = reverse('questions.aaq_step2', locale='en-US', args=['desktop'])
    res = self.client.get(url_fi)
    eq_(302, res.status_code)
    assert res['location'].endswith(url_en)
    l = QuestionLocale.objects.get(locale='fi')
    p.questions_locales.add(l)
    res = self.client.get(url_fi)
    eq_(200, res.status_code)
