def test_slug(): slug = Slug(True, 'Jardin', 'jour') assert slug.rep() == '001\n\intslug[jour]{Jardin}'