def test_ascii_fancy():
 o = nikola.utils.slugify(u'The quick brown fox jumps over the lazy dog!-123.456', lang=u'en')
 assert (o == u'the-quick-brown-fox-jumps-over-the-lazy-dog-123456')
 assert isinstance(o, nikola.utils.unicode_str)

def test_ascii_fancy ( ) : o = nikola . utils . slugify ( u'The quick brown fox jumps over the lazy dog!-123.456' , lang = u'en' ) assert ( o == u'the-quick-brown-fox-jumps-over-the-lazy-dog-123456' ) assert isinstance ( o , nikola . utils . unicode_str )
test an ascii string .