From 4a35a848117c4fe646d36419096d099030878469 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 1 Dec 2013 13:28:57 +0000 Subject: Add style_name to Run --- tests/docx/docx_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/docx/docx_tests.py') 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") ]) ]) ]) -- cgit v1.2.3