From 7b4c39650f2ebb0458f6f06375ab682fbc32f90e Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 21 Jan 2015 17:42:12 +0000 Subject: Change footnote reader to generic note reader --- tests/docx/document_xml_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/docx') diff --git a/tests/docx/document_xml_tests.py b/tests/docx/document_xml_tests.py index 4c1f330..2cb13c7 100644 --- a/tests/docx/document_xml_tests.py +++ b/tests/docx/document_xml_tests.py @@ -9,7 +9,7 @@ from mammoth.docx.document_xml import read_document_xml_element from mammoth.docx.numbering_xml import Numbering from mammoth.docx.relationships_xml import Relationships, Relationship from mammoth.docx.styles_xml import Styles, Style -from mammoth.docx.footnotes_xml import FootnoteElement +from mammoth.docx.footnotes_xml import NoteElement @istest @@ -315,7 +315,7 @@ class ReadXmlElementTests(object): @istest def footnotes_of_document_are_read(self): paragraph_xml = xml_element("w:p") - footnotes = [FootnoteElement("4", [paragraph_xml])] + footnotes = [NoteElement("footnote", "4", [paragraph_xml])] body_xml = xml_element("w:body") document_xml = xml_element("w:document", {}, [body_xml]) -- cgit v1.2.3