diff options
Diffstat (limited to 'tests/docx/docx_tests.py')
| -rw-r--r-- | tests/docx/docx_tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/docx/docx_tests.py b/tests/docx/docx_tests.py index c20a41d..15bca51 100644 --- a/tests/docx/docx_tests.py +++ b/tests/docx/docx_tests.py @@ -10,10 +10,10 @@ class ReadTests(object): def can_read_document_with_single_paragraph_with_single_run_of_text(self): with open(test_path("single-paragraph.docx")) as fileobj: result = docx.read(fileobj=fileobj) - expected_document = documents.Document([ + expected_document = documents.document([ documents.paragraph([ - documents.Run([ - documents.Text("Walking on imported air") + documents.run([ + documents.text("Walking on imported air") ]) ]) ]) |
