'Delete the creator of the last post and verify forum survives.'

def test_last_post_creator_deleted(self):

    post = PostFactory(content='test')
    forum = post.thread.forum
    eq_(forum.last_post.id, post.id)
    post.author.delete()
    forum = Forum.objects.get(id=forum.id)
    eq_(forum.last_post, None)
