'Edit thread action - thread belongs to forum.'

def test_edit_thread_belongs_to_forum(self):

    f = ForumFactory()
    t = ThreadFactory()
    u = t.creator
    self.client.login(username=u.username, password='testpass')
    r = get(self.client, 'forums.edit_thread', args=[f.slug, t.id])
    eq_(404, r.status_code)
