diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-01-21 17:42:12 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-01-21 17:42:12 +0000 |
| commit | 7b4c39650f2ebb0458f6f06375ab682fbc32f90e (patch) | |
| tree | 697f1422e6c63e753c3b0c0202256ad570eda86a /tests | |
| parent | 654b3084366fc6649cdbc5b900f6ea1e6fdace01 (diff) | |
Change footnote reader to generic note reader
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/docx/document_xml_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
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]) |
