summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2025-08-03 07:58:40 +0100
committerMichael Williamson <mike@zwobble.org>2025-08-03 07:58:40 +0100
commitbb0ff1066ea8f890f98092244d1b489ceab7c80e (patch)
tree139c662711a1cb46be5e979215c266c2537226bc /tests
parentcbca9920da21f00110153175481472c56ec92436 (diff)
Unify flow for storing styles
Diffstat (limited to 'tests')
-rw-r--r--tests/docx/numbering_xml_tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/docx/numbering_xml_tests.py b/tests/docx/numbering_xml_tests.py
index 1fb4c63..6f1e447 100644
--- a/tests/docx/numbering_xml_tests.py
+++ b/tests/docx/numbering_xml_tests.py
@@ -90,7 +90,9 @@ def test_when_abstract_num_has_num_style_link_then_style_is_used_to_find_num():
xml_element("w:abstractNumId", {"w:val": "101"}),
])
]),
- styles=Styles.create(numbering_styles={"List1": NumberingStyle(num_id="200")}),
+ styles=Styles.create(numbering_styles={
+ "List1": NumberingStyle(style_id="List1", num_id="200"),
+ }),
)
assert_equal(True, numbering.find_level("201", "0").is_ordered)