added arabic tests

Former-commit-id: f83d31a357
This commit is contained in:
Joshua Chin 2015-07-07 15:10:59 -04:00
parent 21c809416d
commit b3a008f992

View File

@ -137,3 +137,14 @@ def test_not_really_random():
@raises(ValueError)
def test_not_enough_ascii():
random_ascii_words(lang='zh')
def test_ar():
eq_(
tokenize('متــــــــعب', 'ar'),
['متعب']
)
eq_(
tokenize('حَرَكَات', 'ar'),
['حركات']
)