X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/8939b6a23c816660a6c5366adb03fc0345c911ed..eb25cada3f68db8f58689bff431edd321620fd72:/tests/test_ref.py diff --git a/tests/test_ref.py b/tests/test_ref.py index d75228e..2a54fb5 100644 --- a/tests/test_ref.py +++ b/tests/test_ref.py @@ -11,9 +11,7 @@ from lxml import etree class RefTests(TestCase): def test_snippet(self): doc = WLDocument(filename=get_fixture('text', 'miedzy-nami-nic-nie-bylo.xml')) - - hb = builders['html']() - hb.assign_ids(doc.tree) + doc.assign_ids() refs = [] for ref in doc.references():