aboutsummaryrefslogtreecommitdiff
path: root/tests/docx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docx')
-rw-r--r--tests/docx/document_xml_tests.py4
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])