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