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