def test_slugify():
 assert (slugify(u'Hello world') == u'hello-world')
 assert (slugify(u'\xbfC\xf3mo est\xe1?') == u'como-esta')

def test_slugify ( ) : assert ( slugify ( u'Hello world' ) == u'hello-world' ) assert ( slugify ( u'\xbfC\xf3mo est\xe1?' ) == u'como-esta' )
test the slugify helper method .