'Editing a locked thread returns 403.'

def test_edit_locked_thread_403(self):

    locked = ThreadFactory(is_locked=True)
    u = locked.creator
    PostFactory(thread=locked, author=u)
    self.client.login(username=u.username, password='testpass')
    response = get(self.client, 'forums.edit_thread', args=[locked.forum.slug, locked.id])
    eq_(403, response.status_code)
