Add a build test to check we are using the correct html5lib

This commit is contained in:
Kovid Goyal 2016-06-24 08:41:35 +05:30
parent 8a977e02d1
commit 975efe314e

View File

@ -48,6 +48,9 @@ class BuildTest(unittest.TestCase):
def test_html5lib(self):
import html5lib.html5parser # noqa
from html5lib import parse # noqa
# Test that we are using the calibre version of html5lib
from calibre.ebooks.oeb.polish.parsing import parse_html5
parse_html5('<p>xxx')
def test_spell(self):
from calibre.spell.dictionary import test_dictionaries