def test_symbols(self):
     canada_tags(u'₩₮¬× this is fine too', {})
 def test_strip_whitespace(self):
     assert_equal(canada_tags(u'  hello world\n ', {}), u'hello world')
 def test_punctuation(self):
     canada_tags(u'yes we accept this ´‘’– —:;.!', {})
 def test_simple(self):
     canada_tags(u'hello', {})
 def test_barely_fits(self):
     canada_tags(u'z' * 140, {})
Exemple #6
0
 def test_symbols(self):
     canada_tags(u'₩₮¬× this is fine too', {})
Exemple #7
0
 def test_punctuation(self):
     canada_tags(u'yes we accept this ´‘’– —:;.!', {})
Exemple #8
0
 def test_strip_whitespace(self):
     assert_equal(canada_tags(u'  hello world\n ', {}), u'hello world')
Exemple #9
0
 def test_barely_fits(self):
     canada_tags(u'z' * 140, {})
Exemple #10
0
 def test_simple(self):
     canada_tags(u'hello', {})