X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/011b98a4661b754a0789ae78e145437b5b86e5fe..refs/heads/master:/tests/test_ref.py?ds=sidebyside 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():