fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix
[librarian.git]
/
tests
/
test_ref.py
diff --git
a/tests/test_ref.py
b/tests/test_ref.py
index
d75228e
..
2a54fb5
100644
(file)
--- 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():