diff options
Diffstat (limited to 'tests/docx')
| -rw-r--r-- | tests/docx/body_xml_tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/docx/body_xml_tests.py b/tests/docx/body_xml_tests.py index 2d6644c..63ec33d 100644 --- a/tests/docx/body_xml_tests.py +++ b/tests/docx/body_xml_tests.py @@ -552,6 +552,9 @@ def _read_document_xml_element(element, *args, **kwargs): class FakeStyles(object): def find_paragraph_style_by_id(self, style_id): return Style(style_id, style_id) + + def find_character_style_by_id(self, style_id): + return None def _document_element_with_text(text): return xml_element("w:document", {}, [ |
