diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-02-04 09:04:35 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-02-04 13:34:29 +0000 |
| commit | c5b18e1a2c7371df4d574b5fb4229c95fbdd3eb5 (patch) | |
| tree | c85d7f18413b824351c98ceea49993bedf73d3ff /tests/docx/body_xml_tests.py | |
| parent | 6e449db1f143ac198e820610a40765071163d87a (diff) | |
Extract common code for reading styles
Diffstat (limited to 'tests/docx/body_xml_tests.py')
| -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", {}, [ |
