Exemplo n.º 1
0
Arquivo: tags.py Projeto: bsu/GWM
 def test_truncate_length(self):
     self.assertEqual(tags.truncate("testing", 6), u"testi…")
Exemplo n.º 2
0
Arquivo: tags.py Projeto: bsu/GWM
 def test_truncate_valid(self):
     self.assertEqual(tags.truncate("test", 4), "test")