コード例 #1
0
ファイル: LibRu_tests.py プロジェクト: ktisha/ebook-service
def cleanup_year_test():
    assert u"Book  yeah!" == Preprocessor.cleanup_year(u"Book (1990) yeah!")
    assert u"Book  yeah!" == Preprocessor.cleanup_year(u"Book [1990] yeah!")