'Verify form post from unauth\'d user.'

@mock.patch.object(kitsune.questions.forms, 'submit_ticket')
def test_submit_ticket_anon(self, submit_ticket):

    email = 'foo@bar.com'
    subject = 'A    new    ticket'
    body = 'Lorem    ipsum    dolor    sit    amet'
    cat = 'account'
    self.client.logout()
    response = post(self.client, 'questions.marketplace_aaq_category', {'subject': subject, 'body': body, 'category': cat, 'email': email}, args=['account'])
    eq_(200, response.status_code)
    body = 'Email:    {email}\n{body}'.format(email=email, body=body)
    submit_ticket.assert_called_with(email, cat, subject, body, [])
