'The edit-thread template should render.'

def test_edit_thread_template(self):

    u = UserFactory()
    self.client.login(username=u.username, password='testpass')
    t = ThreadFactory(creator=u, is_locked=False)
    res = get(self.client, 'wiki.discuss.edit_thread', args=[t.document.slug, t.id])
    doc = pq(res.content)
    eq_(len(doc('form.edit-thread')), 1)
