aboutsummaryrefslogtreecommitdiff
path: root/tests/mammoth_tests.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-05-11 18:01:31 +0100
committerMichael Williamson <mike@zwobble.org>2014-05-11 18:01:31 +0100
commit61e88321b9e5dc67a0373edc69f8114db8c1d3b7 (patch)
tree3f43fd006b6c095f91c2424086b273928881336c /tests/mammoth_tests.py
parent7e57058cf120717cc2d2fea3b897b12c3891b28a (diff)
Rename existing concept of style names to style IDs to match docx
Diffstat (limited to 'tests/mammoth_tests.py')
-rw-r--r--tests/mammoth_tests.py2
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: