diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-11-20 15:32:08 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-11-20 15:32:08 +0000 |
| commit | 685e1e0fb3e7dc854a124c863da45bd018b2936b (patch) | |
| tree | 262ae806ffb7056bf7b7f56babc2b17c56c4007b /tests/docx/document_matchers.py | |
| parent | 300e74989af1a9d7665c192b99a96918b3685ce9 (diff) | |
Handle hyperlinked wp:anchor and wp:inline elements
Diffstat (limited to 'tests/docx/document_matchers.py')
| -rw-r--r-- | tests/docx/document_matchers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/docx/document_matchers.py b/tests/docx/document_matchers.py index 6b02cf9..ef2100e 100644 --- a/tests/docx/document_matchers.py +++ b/tests/docx/document_matchers.py @@ -19,6 +19,7 @@ is_hyperlink = create_element_matcher(documents.Hyperlink) is_checkbox = create_element_matcher(documents.Checkbox) is_table = create_element_matcher(documents.Table) is_row = create_element_matcher(documents.TableRow) +is_image = create_element_matcher(documents.Image) is_empty_run = is_run(children=[]) |
