Exemple #1
0
 def test2(self):
   slug = slugify(u"C'est l'été")
   assert slug == 'c-est-l-ete'
   assert isinstance(slug, str)
Exemple #2
0
 def test1(self):
   slug = slugify(u"a b c")
   assert slug == 'a-b-c'
   assert isinstance(slug, str)