'Changing post content works.'

def test_edit_post(self):

    p = PostFactory()
    t = p.thread
    u = p.author
    self.client.login(username=u.username, password='testpass')
    post(self.client, 'forums.edit_post', {'content': 'Some    new    content'}, args=[t.forum.slug, t.id, p.id])
    edited_p = Post.objects.get(id=p.id)
    eq_('Some    new    content', edited_p.content)
