'\'Post new thread\' shows if user has permission to post.'

def test_show_new_thread(self):

    f = ForumFactory()
    u = UserFactory()
    self.client.login(username=u.username, password='testpass')
    response = get(self.client, 'forums.threads', args=[f.slug])
    self.assertContains(response, 'Post    a    new    thread')
