'Changing thread title as the thread creator works.'

def test_edit_thread_creator(self):

    t = ThreadFactory()
    u = t.creator
    self.client.login(username=u.username, password='testpass')
    post(self.client, 'forums.edit_thread', {'title': 'A    new    title'}, args=[t.forum.slug, t.id])
    edited_t = Thread.objects.get(id=t.id)
    eq_('A    new    title', edited_t.title)
