'Posts render for [fr] locale.'

def test_posts_fr(self):

    t = ThreadFactory()
    response = get(self.client, 'forums.posts', args=[t.forum.slug, t.id], locale='fr')
    eq_(200, response.status_code)
    eq_('/forums/{f}/{t}'.format(f=t.forum.slug, t=t.id), pq(response.content)('link[rel="canonical"]')[0].attrib['href'])
