From 1483a864719cedabc0d6c6bcd98e0b2d9d3ce0c1 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 25 Jan 2015 17:06:54 +0000 Subject: Use prefix to generate IDs --- tests/docx/document_xml_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/docx/document_xml_tests.py') diff --git a/tests/docx/document_xml_tests.py b/tests/docx/document_xml_tests.py index a0d29b9..a2eefaf 100644 --- a/tests/docx/document_xml_tests.py +++ b/tests/docx/document_xml_tests.py @@ -322,7 +322,7 @@ class ReadXmlElementTests(object): document = _read_and_get_document_xml_element(document_xml, footnote_elements=footnotes) footnote = document.notes.find_note("footnote", "4") - assert_equal("4", footnote.id) + assert_equal("4", footnote.note_id) assert isinstance(footnote.body[0], documents.Paragraph) @istest -- cgit v1.2.3