'Verify refund requst form post.'

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

    subject = 'Please    refund    me!'
    body = 'NOW!!'
    cat = 'Defective'
    transaction_id = 'qwerty12345'
    response = post(self.client, 'questions.marketplace_refund', {'subject': subject, 'body': body, 'category': cat, 'transaction_id': transaction_id})
    eq_(200, response.status_code)
    body = 'Email:    {email}\nTransaction    ID:    qwerty12345\nCategory:    Defective\nNOW!!'.format(email=self.user.email)
    submit_ticket.assert_called_with(self.user.email, cat, subject, body, [])
