'Providing an invalid type returns 400.'

def test_invalid_type(self):

    p = ProductFactory(slug='firefox')
    l = QuestionLocale.objects.get(locale=settings.LANGUAGE_CODE)
    p.questions_locales.add(l)
    TopicFactory(slug='fix-problems', product=p)
    self.client.logout()
    url = urlparams(reverse('questions.aaq_step5', args=['desktop', 'fix-problems']), search='A    test    question')
    data = {'username': 'testaaq', 'password': 'testpass', 'password2': 'testpass', 'email': 'testaaq@example.com'}
    data.update(**self.data)
    response = self.client.post(url, data, follow=True)
    eq_(400, response.status_code)
    assert ('Request    type    not    recognized' in response.content)
