'Posting a reply should redirect.'

def test_reply_redirect(self):

    t = ThreadFactory()
    u = UserFactory()
    self.client.login(username=u.username, password='testpass')
    url = reverse('forums.reply', args=[t.forum.slug, t.id])
    data = {'content': 'some    content'}
    r = self.client.post(url, data, follow=False)
    eq_(302, r.status_code)
    assert (t.forum.slug in r['location'])
    assert (str(t.id) in r['location'])
    assert ('last=' in r['location'])
