From 61e88321b9e5dc67a0373edc69f8114db8c1d3b7 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 11 May 2014 18:01:31 +0100 Subject: Rename existing concept of style names to style IDs to match docx --- tests/mammoth_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mammoth_tests.py') diff --git a/tests/mammoth_tests.py b/tests/mammoth_tests.py index 77e7ec2..bc9f99c 100644 --- a/tests/mammoth_tests.py +++ b/tests/mammoth_tests.py @@ -32,7 +32,7 @@ def simple_list_is_converted_to_list_elements(): @istest def transform_document_is_applied_to_document_before_conversion(): def transform_document(document): - document.children[0].style_name = "Heading1" + document.children[0].style_id = "Heading1" return document with open(test_path("single-paragraph.docx"), "rb") as fileobj: -- cgit v1.2.3