This commit is contained in:
Kovid Goyal 2012-07-09 22:30:26 +05:30
parent 3a48432cad
commit 9eb95c3b64

View File

@ -94,6 +94,12 @@ def test_unrar():
raise RuntimeError('Failed to load libunrar') raise RuntimeError('Failed to load libunrar')
print ('Unrar OK!') print ('Unrar OK!')
def test_icu():
from calibre.utils.icu import _icu_not_ok
if _icu_not_ok:
raise RuntimeError('ICU module not loaded/valid')
print ('ICU OK!')
def test(): def test():
test_plugins() test_plugins()
test_lxml() test_lxml()
@ -102,6 +108,7 @@ def test():
test_qt() test_qt()
test_imaging() test_imaging()
test_unrar() test_unrar()
test_icu()
if iswindows: if iswindows:
test_win32() test_win32()
test_winutil() test_winutil()