mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Add a build test to check we are using the correct html5lib
This commit is contained in:
parent
8a977e02d1
commit
975efe314e
@ -48,6 +48,9 @@ class BuildTest(unittest.TestCase):
|
|||||||
def test_html5lib(self):
|
def test_html5lib(self):
|
||||||
import html5lib.html5parser # noqa
|
import html5lib.html5parser # noqa
|
||||||
from html5lib import parse # 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):
|
def test_spell(self):
|
||||||
from calibre.spell.dictionary import test_dictionaries
|
from calibre.spell.dictionary import test_dictionaries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user