diff options
Diffstat (limited to 'tests/mammoth_tests.py')
| -rw-r--r-- | tests/mammoth_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
