mwmbl/test/test_indexdb.py

7 lines
177 B
Python
Raw Normal View History

2022-07-24 14:44:01 +00:00
from mwmbl.indexer.index_batches import clean_unicode
2022-07-16 09:54:25 +00:00
def test_clean_unicode():
result = clean_unicode('Bad extract text \ud83c')
assert result == 'Bad extract text '